1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Set default values for site variables

good for gem-based first run
This commit is contained in:
Cotes Chung
2021-01-24 03:02:19 +08:00
parent 7ed3bef1b1
commit cbb3bd4be5
17 changed files with 45 additions and 43 deletions

View File

@@ -83,7 +83,7 @@ layout: page
{% if post.pin %}
<div class="pin">
<i class="fas fa-thumbtack fa-fw"></i>
<span>{{ site.data.label.pin_prompt }}</span>
<span>{{ site.data.label.pin_prompt | default: 'Pinned' }}</span>
</div>
{% endif %}