aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/section.html')
-rw-r--r--themes/default/layouts/_default/section.html19
1 files changed, 4 insertions, 15 deletions
diff --git a/themes/default/layouts/_default/section.html b/themes/default/layouts/_default/section.html
index 89c669e..b653a87 100644
--- a/themes/default/layouts/_default/section.html
+++ b/themes/default/layouts/_default/section.html
@@ -1,19 +1,8 @@
{{- define "styles" -}}
-<style>
- {{ partial "navigator.css.html" (dict "Link" "/") | safeCSS }}
-
- tab-bar a[href="{{ .CurrentSection.Permalink }}"],
- tab-bar a[href^="{{ .CurrentSection.Permalink }}#"],
- tab-bar a[href="{{ strings.TrimRight "/" .CurrentSection.Permalink }}"] {
- color: #111;
- color: var(--foreground);
- font-weight: 700;
- text-decoration-color: #014cc6;
- text-decoration-color: var(--link);
- text-decoration: underline;
- border-bottom: 2px solid var(--background);
- }
-</style>
+ <style>
+ {{ partial "navigator.css.html" (dict "Link" "/") | safeCSS }}
+ {{ partial "tabbar.css.html" (dict "Context" . "Hash" "#posts") | safeCSS }}
+ </style>
{{- end -}}
{{- define "header" -}}