Skip to content

Commit

Permalink
Add symbol.colon in meta text (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex LEE authored Mar 19, 2018
1 parent 65a8a8d commit f2a939f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions layout/_macro/post.swig
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<i class="fa fa-calendar-check-o"></i>
</span>
{% if theme.post_meta.item_text %}
<span class="post-meta-item-text">{{ __('post.modified') }}&#58;</span>
<span class="post-meta-item-text">{{ __('post.modified') + __('symbol.colon') }}</span>
{% endif %}
<time title="{{ __('post.modified') }}" itemprop="dateModified" datetime="{{ moment(post.updated).format() }}">{#
#}{{ date(post.updated, config.date_format) }}{#
Expand Down Expand Up @@ -208,7 +208,7 @@
<i class="fa fa-eye"></i>
</span>
{% if theme.post_meta.item_text %}
<span class="post-meta-item-text">{{__('post.views')}}&#58;</span>
<span class="post-meta-item-text">{{__('post.views') + __('symbol.colon') }}</span>
{% endif %}
<span class="leancloud-visitors-count"></span>
</span>
Expand All @@ -235,7 +235,7 @@
<i class="fa fa-file-word-o"></i>
</span>
{% if theme.symbols_count_time.item_text_post %}
<span class="post-meta-item-text">{{ __('post.symbols_count') }}&#58;</span>
<span class="post-meta-item-text">{{ __('post.symbols_count') + __('symbol.colon') }}</span>
{% endif %}
<span title="{{ __('post.symbols_count') }}">{#
#}{{ symbolsCount(post.content) }}{#
Expand All @@ -251,7 +251,7 @@
<i class="fa fa-clock-o"></i>
</span>
{% if theme.symbols_count_time.item_text_post %}
<span class="post-meta-item-text">{{ __('post.symbols_time') }} &asymp;</span>
<span class="post-meta-item-text">{{ __('post.symbols_time') }}&asymp;</span>
{% endif %}
<span title="{{ __('post.symbols_time') }}">{#
#}{{ symbolsTime(post.content, theme.symbols_count_time.awl, theme.symbols_count_time.wpm) }}{#
Expand Down
4 changes: 2 additions & 2 deletions layout/_partials/footer.swig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<i class="fa fa-area-chart"></i>
</span>
{% if theme.symbols_count_time.item_text_total %}
<span class="post-meta-item-text">{{ __('post.total_symbols') }}&#58;</span>
<span class="post-meta-item-text">{{ __('post.total_symbols') + __('symbol.colon') }}</span>
{% endif %}
<span title="{{ __('post.total_symbols') }}">{#
#}{{ symbolsCountTotal(site) }}{#
Expand All @@ -26,7 +26,7 @@
<i class="fa fa-coffee"></i>
</span>
{% if theme.symbols_count_time.item_text_total %}
<span class="post-meta-item-text">{{ __('post.total_time') }}&#58;</span>
<span class="post-meta-item-text">{{ __('post.total_time') + __('symbol.colon') }}</span>
{% endif %}
<span title="{{ __('post.total_time') }}">{#
#}{{ symbolsTimeTotal(site, theme.symbols_count_time.awl, theme.symbols_count_time.wpm) }}{#
Expand Down

0 comments on commit f2a939f

Please sign in to comment.