Some minor fixes

This commit is contained in:
Mimi 2021-12-01 15:12:57 +08:00
parent 4260d0d8d8
commit be21d5c530
2 changed files with 8 additions and 9 deletions

View File

@ -19,16 +19,14 @@
</span>
{%- endif %}
{%- if theme.post_meta.updated_at.enable %}
{%- if not theme.post_meta.updated_at.another_day or date_diff or not theme.post_meta.created_at %}
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">{{ __('post.edited') }}</span>
<time title="{{ __('post.modified') + __('symbol.colon') + full_date(post.updated) }}" itemprop="dateModified" datetime="{{ moment(post.updated).format() }}">{{ date(post.updated) }}</time>
{%- if theme.post_meta.updated_at.enable and (not theme.post_meta.updated_at.another_day or date_diff or not theme.post_meta.created_at) %}
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
{%- endif %}
<span class="post-meta-item-text">{{ __('post.edited') }}</span>
<time title="{{ __('post.modified') + __('symbol.colon') + full_date(post.updated) }}" itemprop="dateModified" datetime="{{ moment(post.updated).format() }}">{{ date(post.updated) }}</time>
</span>
{%- endif %}
{%- if post.categories and post.categories.length and theme.post_meta.categories %}

View File

@ -119,6 +119,7 @@ $line-height-code-block = 1.6; // Can't be less than 1.3;
// Z-index master list
// --------------------------------------------------
// Fix issue https://github.com/next-theme/theme-next-docs/issues/54
$zindex-0 = 5;
$zindex-1 = 10;
$zindex-2 = 20;