summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/partials
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-03-19 23:24:27 +0100
committerjaseg <git@jaseg.de>2023-03-19 23:24:27 +0100
commit9d2ecb11fdc6d48702b0b9bd3f29dab4fb73457c (patch)
tree65b67f8699b547fcc0a171241003fcb0b340a4b9 /themes/conspiracy/layouts/partials
parent6658952dcf963d2aed146fff70d9da2e54e6402d (diff)
downloadblog-9d2ecb11fdc6d48702b0b9bd3f29dab4fb73457c.tar.gz
blog-9d2ecb11fdc6d48702b0b9bd3f29dab4fb73457c.tar.bz2
blog-9d2ecb11fdc6d48702b0b9bd3f29dab4fb73457c.zip
Make light mode prettier
Diffstat (limited to 'themes/conspiracy/layouts/partials')
-rw-r--r--themes/conspiracy/layouts/partials/header.html33
1 files changed, 18 insertions, 15 deletions
diff --git a/themes/conspiracy/layouts/partials/header.html b/themes/conspiracy/layouts/partials/header.html
index 675f899..e252f1f 100644
--- a/themes/conspiracy/layouts/partials/header.html
+++ b/themes/conspiracy/layouts/partials/header.html
@@ -1,17 +1,20 @@
<nav>
- {{- $currentPage := . }}
- <!-- todo: put this in a "pages" drop down on mobile -->
- {{- range site.Menus.main }}
- {{- $menu_item_url := .URL | absURL }}
- {{- $page_url:= $currentPage.Permalink | absURL }}
- <a href="{{ .URL }}" title="{{ .Title | default .Name }}" {{- if eq $menu_item_url $page_url }} class="active" {{- end }}>
- {{- .Pre }}
- {{- .Name -}}
- {{ .Post -}}
- </a>
- {{- end }}
- <span class="spacer"></span>
- {{- range site.Params.profile_links }}
- <a href="{{ .url | absURL }}" title="{{ .name }}">{{ .name }}</a>
- {{- end }}
+ <div class="internal">
+ {{- $currentPage := . }}
+ <!-- todo: put this in a "pages" drop down on mobile -->
+ {{- range site.Menus.main }}
+ {{- $menu_item_url := .URL | absURL }}
+ {{- $page_url:= $currentPage.Permalink | absURL }}
+ <a href="{{ .URL }}" title="{{ .Title | default .Name }}" {{- if eq $menu_item_url $page_url }} class="active" {{- end }}>
+ {{- .Pre }}
+ {{- .Name -}}
+ {{ .Post -}}
+ </a>
+ {{- end }}
+ </div>
+ <div class="external">
+ {{- range site.Params.profile_links }}
+ <a href="{{ .url | absURL }}" title="{{ .name }}">{{ .name }}</a>
+ {{- end }}
+ </span>
</nav>