summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2024-11-18 23:26:00 -0800
committerrtk0c <[email protected]>2024-11-18 23:26:00 -0800
commit584e81b2094c44ce30e821694ff0842ab73f3bb5 (patch)
treebf84c60bd848f7501a140e04a91cef72306cdadb
parent62cf79193a4d7a5c8e6977d2fc792140b0602913 (diff)
Properly setup Hugo/PaperMod
-rw-r--r--content/_index.md4
-rw-r--r--content/archives.md5
-rw-r--r--content/blog/adventures-on-monitorless-server.md1
-rw-r--r--content/search.md5
-rw-r--r--hugo.toml4
-rw-r--r--hugo.yaml56
6 files changed, 67 insertions, 8 deletions
diff --git a/content/_index.md b/content/_index.md
deleted file mode 100644
index cdacb8a..0000000
--- a/content/_index.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-heading: "rtk0c's hut"
-handle: "rtk0c"
----
diff --git a/content/archives.md b/content/archives.md
new file mode 100644
index 0000000..96259e1
--- /dev/null
+++ b/content/archives.md
@@ -0,0 +1,5 @@
+---
+title: "Archive"
+layout: "archives"
+summary: "archives"
+---
diff --git a/content/blog/adventures-on-monitorless-server.md b/content/blog/adventures-on-monitorless-server.md
index 5706b71..06833fe 100644
--- a/content/blog/adventures-on-monitorless-server.md
+++ b/content/blog/adventures-on-monitorless-server.md
@@ -1,6 +1,7 @@
---
title: "Adventures on server setup without a monitor"
date: 2024-11-18T21:41:35-08:00
+ShowToc: false
---
# TL;DR
diff --git a/content/search.md b/content/search.md
new file mode 100644
index 0000000..5c6170b
--- /dev/null
+++ b/content/search.md
@@ -0,0 +1,5 @@
+---
+title: "Search"
+placeholder: Search demo site with full text fuzzy search ...
+layout: "search"
+---
diff --git a/hugo.toml b/hugo.toml
deleted file mode 100644
index 11cb4bf..0000000
--- a/hugo.toml
+++ /dev/null
@@ -1,4 +0,0 @@
-baseURL = "https://rtk0c.pages.dev/"
-languageCode = "en-us"
-theme = "PaperMod"
-title = "rtk0c's hut"
diff --git a/hugo.yaml b/hugo.yaml
new file mode 100644
index 0000000..dfcd2ce
--- /dev/null
+++ b/hugo.yaml
@@ -0,0 +1,56 @@
+baseURL: "https://rtk0c.pages.dev/"
+languageCode: "en-us"
+title: "rtk0c's hut"
+theme: "PaperMod"
+
+outputs:
+ home:
+ # Gotta read them somehow
+ - HTML
+ # Go get a RSS client (and some quality blogs), you will not regret it
+ - RSS
+ # For fastsearch.json
+ - JSON
+
+languages:
+ en:
+ languageName: "English"
+ weight: 1
+ taxonomies:
+ category: categories
+ tag: tags
+ series: series
+ menu:
+ main:
+ - name: Posts
+ url: /archives
+ weight: 5
+ - name: Search
+ url: /search
+ weight: 10
+ - name: GitHub
+ url: https://github.com/rtk0c
+
+params:
+ env: development
+ description: "Some interesting stuff, hopefully"
+ keywords: [Blog, Portfolio]
+ author: rtk0c
+
+ defaultTheme: auto
+ disableThemeToggle: false
+ ShowShareButtons: false
+ ShowReadingTime: false
+ displayFullLangName: true
+ ShowPostNavLinks: true
+ ShowBreadCrumbs: true
+ ShowCodeCopyButtons: true
+ ShowRssButtonInSectionTermList: true
+ ShowAllPagesInArchive: true
+ ShowPageNums: true
+ ShowToc: true
+
+ homeInfoParams:
+ Title: "rtk0c's hut"
+ Content: >
+ Something