summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/extended/custom.css27
-rw-r--r--content/posts/services.md (renamed from content/post/services.md)0
-rw-r--r--content/posts/setup/images/diagram.svg (renamed from content/post/setup/images/diagram.svg)0
-rw-r--r--content/posts/setup/index.md (renamed from content/post/setup/index.md)0
-rw-r--r--content/posts/split-tunnelling-for-wireguard-in-linux.md (renamed from content/post/split-tunnelling-for-wireguard-in-linux.md)0
-rw-r--r--content/search.md5
-rw-r--r--hugo.toml17
7 files changed, 42 insertions, 7 deletions
diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css
index 831259e..c78cacb 100644
--- a/assets/css/extended/custom.css
+++ b/assets/css/extended/custom.css
@@ -1,14 +1,29 @@
:root {
- --link-hover-color: #449DD1 !important;
- --link-hover-underline-color: #449DD1 !important;
- --link-background-color: #78C0E0 !important;
+ --link-hover-color: #449DD1;
+ --link-hover-underline-color: #449DD1;
+ --link-background-color: #78C0E0;
}
.dark {
--theme: rgb(0, 0, 0);
- --link-hover-color: #449DD1 !important;
- --link-hover-underline-color: #449DD1 !important;
- --link-background-color: #449DD1 !important;
+ --link-hover-color: #449DD1;
+ --link-hover-underline-color: #449DD1;
+ --link-background-color: #449DD1;
+}
+
+#menu a {
+ color: var(--secondary);
+}
+#menu a:hover {
+ color: var(--link-hover-color);
+}
+#menu .active {
+ color: var(--link-hover-color) !important;
+ box-shadow: 0 2px 0 var(--link-hover-color);
+}
+
+.nav {
+ flex-direction: column;
}
.first-entry > header:nth-child(1) {
diff --git a/content/post/services.md b/content/posts/services.md
index f01a901..f01a901 100644
--- a/content/post/services.md
+++ b/content/posts/services.md
diff --git a/content/post/setup/images/diagram.svg b/content/posts/setup/images/diagram.svg
index 40bc69e..40bc69e 100644
--- a/content/post/setup/images/diagram.svg
+++ b/content/posts/setup/images/diagram.svg
diff --git a/content/post/setup/index.md b/content/posts/setup/index.md
index b635f94..b635f94 100644
--- a/content/post/setup/index.md
+++ b/content/posts/setup/index.md
diff --git a/content/post/split-tunnelling-for-wireguard-in-linux.md b/content/posts/split-tunnelling-for-wireguard-in-linux.md
index a2ab221..a2ab221 100644
--- a/content/post/split-tunnelling-for-wireguard-in-linux.md
+++ b/content/posts/split-tunnelling-for-wireguard-in-linux.md
diff --git a/content/search.md b/content/search.md
new file mode 100644
index 0000000..ca4bc67
--- /dev/null
+++ b/content/search.md
@@ -0,0 +1,5 @@
+---
+title: "Search"
+layout: "search"
+---
+
diff --git a/hugo.toml b/hugo.toml
index af6307a..97d7173 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -2,14 +2,29 @@ baseURL = 'https://hyang.xyz'
languageCode = 'en-us'
title = "hyang's homepage"
theme = 'papermodx'
+enableRobotsTXT = true
paginate = 5
[params]
description = "Cool blogpostings"
author = "hyang"
- mainSections = ["post"]
+ email = "hyang@hyang.xyz"
+ mainSections = ["posts"]
TocOpen = true
TocSide = "left"
+ ShowReadingTime = true
+ ShowWordCount = true
+ ShowCodeCopyButtons = true
+ ShowPostNavLinks = true
+
+ [[menu.main]]
+ name = "Posts"
+ url = "/posts"
+ weight = 1
+ [[menu.main]]
+ name = "Search"
+ url = "/search"
+ weight = 2
[[params.socialIcons]]
name = "email"