diff options
-rw-r--r-- | config.toml | 11 | ||||
-rw-r--r-- | templates/index.html | 1 |
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> |