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

Regular improvement for liquid code

This commit is contained in:
Cotes Chung
2020-12-05 02:44:28 +08:00
parent 13aca77275
commit 5d6014ecee
2 changed files with 4 additions and 10 deletions

View File

@@ -75,7 +75,7 @@
{%- endif -%}
{% endcapture %}
{% if url != '' %}
{% if url %}
<a href="{{ url }}" aria-label="{{ entry.type }}" {% unless entry.noblank %}target="_blank" rel="noopener"{% endunless %}>
<i class="{{ entry.icon }}"></i>
</a>