Tweak tech blog theme
- Upgrade deps
This commit is contained in:
@@ -19,24 +19,22 @@
|
||||
<div class="entry-content">{{ post.text }}</div>
|
||||
{%- assign cat_count = post.category_ids | size -%}
|
||||
{%- if cat_count > 0 %}
|
||||
<small class="category-list">
|
||||
<small>
|
||||
Categorized under
|
||||
{%- for cat_id in post.category_ids %}
|
||||
{% for cat_id in post.category_ids -%}
|
||||
{%- assign cat = categories | where: "id", cat_id | first -%}
|
||||
<span>
|
||||
<a href="{{ cat | category_link }}"
|
||||
title="Categorized under {{ cat.name | strip_html | escape }}" rel="tag">{{ cat.name }}</a></span>
|
||||
<a href="{{ cat | category_link }}" title="Categorized under {{ cat.name | strip_html | escape }}"
|
||||
rel="tag">{{ cat.name }}</a>{% unless forloop.last %}, {% endunless %}
|
||||
{%- endfor %}
|
||||
</small><br>
|
||||
{%- endif %}
|
||||
{%- assign tag_count = post.tags | size -%}
|
||||
{%- if tag_count > 0 %}
|
||||
<small class="category-list">
|
||||
<small>
|
||||
Tagged
|
||||
{%- for tag in post.tags %}
|
||||
<span>
|
||||
<a href="{{ tag | tag_link }}" title="Tagged “{{ tag | escape }}”" rel="tag">{{ tag }}</a>
|
||||
</span>
|
||||
{% for tag in post.tags -%}
|
||||
<a href="{{ tag | tag_link }}" title="Tagged “{{ tag | escape }}”"
|
||||
rel="tag">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
|
||||
{%- endfor %}
|
||||
</small><br>
|
||||
{%- endif %}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
href="{{ "feed.xml" | absolute_link }}">
|
||||
<link rel="canonical" href="{{ "" | absolute_link }}">
|
||||
{%- endif %}
|
||||
<link rel="icon" href="/themes/bit-badger/favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -8,16 +8,12 @@
|
||||
{%- assign cat_count = post.category_ids | size -%}
|
||||
{%- if cat_count > 0 %}
|
||||
<br>
|
||||
<small class="category-list">
|
||||
<small>
|
||||
Categorized under
|
||||
{%- for cat_id in post.category_ids %}
|
||||
{% for cat_id in post.category_ids -%}
|
||||
{%- assign cat = categories | where: "id", cat_id | first -%}
|
||||
<span>
|
||||
<a href="{{ cat | category_link }}" title="Categorized under {{ cat.name | strip_html | escape }}"
|
||||
rel="tag">
|
||||
{{ cat.name }}
|
||||
</a>
|
||||
</span>
|
||||
<a href="{{ cat | category_link }}" title="Categorized under {{ cat.name | strip_html | escape }}"
|
||||
rel="tag">{{ cat.name }}</a>{% unless forloop.last %}, {% endunless %}
|
||||
{%- endfor %}
|
||||
</small>
|
||||
{%- endif %}
|
||||
@@ -27,12 +23,11 @@
|
||||
<div class="entry-footer">
|
||||
{%- assign tag_count = post.tags | size -%}
|
||||
{%- if tag_count > 0 %}
|
||||
<span class="category-list">
|
||||
<span>
|
||||
Tagged
|
||||
{%- for tag in post.tags %}
|
||||
<span>
|
||||
<a href="{{ tag | tag_link }}" title="Tagged “{{ tag | escape }}”" rel="tag">{{ tag }}</a>
|
||||
</span>
|
||||
{% for tag in post.tags -%}
|
||||
<a href="{{ tag | tag_link }}" title="Tagged “{{ tag | escape }}”"
|
||||
rel="tag">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
|
||||
{%- endfor %}
|
||||
</span> •
|
||||
{%- endif %}
|
||||
|
||||
Reference in New Issue
Block a user