Backport some changes and fixes

Return the separator customization that got lost in some commit
Don't blur the nav when it's not visible
Don't scale down the article card when clicking on a tag
This commit is contained in:
daudix
2024-11-14 19:40:54 +03:00
parent 45b13f00b5
commit 4b1fac1f17
9 changed files with 40 additions and 21 deletions

View File

@ -46,7 +46,7 @@
{{- page.date | date(format=date_format, locale=date_locale) -}}
</time>
{%- if page.authors -%}
<span> {% include "partials/authors.html" -%}</span>
<span> {{ config.extra.separator | default(value="•") }} {% include "partials/authors.html" -%}</span>
{%- endif -%}
</small>
{%- if page.taxonomies -%}

View File

@ -54,7 +54,7 @@
{%- set styles = styles | concat(with=section.extra.styles) %}
{%- endif %}
{%- if not config.extra.debug_no_styles %}
{%- if not config.extra.debug.no_styles %}
{%- for style in styles %}
<link type="text/css" rel="stylesheet" href="{{ get_url(path=style) | safe }}" />
{%- endfor %}

View File

@ -1,7 +1,7 @@
{%- if page.title -%}
{{- page.title }} - {{ config.title -}}
{{- page.title }} {{ config.extra.title_separator | default(value="-") }} {{ config.title -}}
{%- elif section.title -%}
{{- section.title }} - {{ config.title -}}
{{- section.title }} {{ config.extra.title_separator | default(value="-") }} {{ config.title -}}
{%- else -%}
{{- config.title -}}
{{- config.title -}}
{%- endif -%}

View File

@ -63,7 +63,7 @@
}
{%- endif -%}
{%- if page.extra.debug_layout or section.extra.debug_layout or config.extra.debug_layout -%}
{%- if config.extra.debug.layout -%}
*,
*::before,
*::after {