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:
@ -27,7 +27,7 @@
|
||||
{{ page.date | date(format=date_format, locale=date_locale) -}}
|
||||
</time>
|
||||
{%- if page.updated -%}
|
||||
<span> • </span>
|
||||
<span> {{ config.extra.separator | default(value="•") }} </span>
|
||||
<time datetime="{{ page.updated | date(format=' %+') }}">
|
||||
{{- macros_translate::translate(key="updated", default="Updated on", language_strings=language_strings) }}
|
||||
{{ page.updated | date(format=date_format, locale=date_locale) -}}
|
||||
@ -45,14 +45,14 @@
|
||||
{%- if page.authors -%}
|
||||
<span>{% include "partials/authors.html" -%}</span>
|
||||
{%- if config.extra.show_reading_time -%}
|
||||
<span> • </span>
|
||||
<span> {{ config.extra.separator | default(value="•") }} </span>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if config.extra.show_reading_time -%}
|
||||
<span>{{ macros_translate::translate(key="minutes_read", number=page.reading_time, default="$NUMBER minute read", language_strings=language_strings) }}</span>
|
||||
{%- if page.taxonomies -%}
|
||||
<span> • </span>
|
||||
<span> {{ config.extra.separator | default(value="•") }} </span>
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
</small>
|
||||
|
@ -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 -%}
|
||||
|
@ -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 %}
|
||||
|
@ -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 -%}
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user