aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-08 00:40:43 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-08 00:40:43 +0100
commite4970090667fe9a1860bd39fa46c1d326a24de3a (patch)
tree925ad2ebf78e718b6fc091ca31a36ae4c41b51f5
parent0f44fafa69ec857da37464943bf9fca4212e0617 (diff)
downloadblog-e4970090667fe9a1860bd39fa46c1d326a24de3a.tar.gz
blog-e4970090667fe9a1860bd39fa46c1d326a24de3a.zip
header: change link names + add ls
-rw-r--r--config.toml11
-rw-r--r--templates/index.html1
2 files changed, 7 insertions, 5 deletions
diff --git a/config.toml b/config.toml
index 0230193..fbfd8fc 100644
--- a/config.toml
+++ b/config.toml
@@ -25,11 +25,12 @@ highlight_theme = "one-dark"
[extra]
header_links = [
- { url = "$BASE_URL", name = "Posts" },
- { url = "$BASE_URL/tags", name = "Tags" },
- { url = "https://github.com/johannst", name = "GitHub" },
- { url = "https://twitter.com/xjohannst", name = "Twitter" },
- { url = "https://memzero.de", name = "About" },
+ { url = "$BASE_URL", name = "/posts" },
+ { url = "$BASE_URL/tags", name = "/tags" },
+ { url = "https://github.com/johannst", name = "/github" },
+ { url = "https://git.memzero.de", name = "/cgit" },
+ #{ url = "https://twitter.com/xjohannst", name = "/twitter" },
+ { url = "https://memzero.de", name = "/usr" },
]
[link_checker]
diff --git a/templates/index.html b/templates/index.html
index 5ea7788..3402996 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -14,6 +14,7 @@
<body>
{% if config.extra.header_links %}
<header>
+ <div>[root@memzero] # ls</div>
<nav itemscope itemtype="http://schema.org/SiteNavigationElement">
{% for link in config.extra.header_links %}
<a itemprop="url" href="{{ link.url | safe | replace(from="$BASE_URL", to=config.base_url) }}"><span itemprop="name">{{ link.name }}</span></a>