Skip to content

Commit 9a40bad

Browse files
committed
chore: add tags to fdisk pages
1 parent c8de28d commit 9a40bad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/_includes/chset-disc.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
{% assign in_disc = site.chsets | where_exp: "font", "font.disc == disc or font.discs contains disc" %}
33
{% for font in in_disc %}
44
{% assign content = font.content | strip_newlines %}
5-
{% if content != "" or font.missing != true or font.map %}
5+
{% if content != "" or font.missing != true or font.map or font.docs or font.tags != empty %}
66
<figure class="font" id="{{font.name}}">
77
{% unless font.missing %}
88
<img src="{{ font.name | prepend:'img/kb/' | append: '.png' | relative_url }}">
99
<img src="{{ font.name | prepend:'img/np/' | append: '.png' | relative_url }}" class="numpad">
1010
{% endunless %}
1111
<h4 class="chset">{% if font.full_name %}{{font.full_name}} {% endif %}»{{font.name}}«</h4>
1212
{% if font.page %}Page: {{font.page}}<br>{% endif %}
13+
{% if font.docs %}Docs: {{font.docs}}<br>{% endif %}
14+
{% unless font.tags == empty %}Tags: {% for tag in font.tags %}{% unless forloop.first %}, {% endunless%}<a href="/chsets/tags#{{tag}}">{{tag}}</a>{% endfor %}<br>{% endunless %}
1315
{% if font.map %}
1416
Mapping file: <a href="{{font.map}}">{{font.map}}</a>
1517
{% endif %}

0 commit comments

Comments
 (0)