From 1c0e1cc8c6a51457907ce028599c2bcad82d0bfd Mon Sep 17 00:00:00 2001 From: a73x Date: Tue, 3 Sep 2024 08:16:46 +0100 Subject: feat(html): nav underlines if page selected --- content/index.md | 3 ++- templates/layouts/_default.html | 15 +++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/content/index.md b/content/index.md index 3c6686b..240517a 100644 --- a/content/index.md +++ b/content/index.md @@ -1,6 +1,7 @@ --- -title: me +title: home --- +## me * backend cloud software engineer * lang: go * infra: kubernetes diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index 0762919..09b2239 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -18,6 +18,10 @@ font-style: normal; } + .no-decorations { + text-decoration: none; + } + code:not(pre > code) { background-color: #f0f0f0; padding: 0.2em 0.4em; @@ -52,16 +56,23 @@ } - -

a73x

+

a73x

high effort, low reward