aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/abridge.scss4
-rw-r--r--templates/macros/macros.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/sass/abridge.scss b/sass/abridge.scss
index 9f008de..608081c 100644
--- a/sass/abridge.scss
+++ b/sass/abridge.scss
@@ -1213,6 +1213,10 @@ $syntax: true !default;//syntax highlighting for code blocks
margin-bottom: .2rem;
color: var(--c4);
}
+ .scur {//series current page
+ font-weight: var(--fh);
+ color: var(--a1);
+ }
}
ol,ul {
font-size: 1em;
diff --git a/templates/macros/macros.html b/templates/macros/macros.html
index 21c943d..a6d31c6 100644
--- a/templates/macros/macros.html
+++ b/templates/macros/macros.html
@@ -15,7 +15,7 @@
{%- set uglyurls = config.extra.uglyurls | default(value=false) -%}
{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %}
{%- if inner.content == page.content %}
- <li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li>
+ <li><a class="scur" href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"><b>{{ inner.title }}</b></a></li>
{% else %}
<li><a href="{{ inner.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ inner.title }}</a></li>
{%- endif %}