1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-12 15:22:36 +03:00
inter/docs/_includes/charset-table.html
2020-04-09 15:54:21 -07:00

24 lines
594 B
HTML

{%
if site.safe == false %}{%
assign url_root = "/" %}{% else %}{%
assign url_root = "/inter/" %}{% endif
%}
<!-- style in r/base.css -->
<div class="charset-table">
{% for g in site.data.glyphinfo.glyphs %}
{% comment %}
Ignore empty glyphs and glyphs without unicode mapping.
{% endcomment %}
{% if g[1] == 0 and g[2] %}
<a title="/{{g[0]}} U+{{g[2]}}{%if g[3]%} ({{g[3]}}) {%endif%}"
data-glyphname="{{g[0]}}"
data-cp="{{g[2]}}"
data-ucdescr="{{g[3]}}"
href="{{url_root}}glyphs/?g={{g[0]}}"
>&#x{{g[2]}}</a>
{% endif %}
{% endfor %}
</div>