1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-13 23:14:10 +03:00
inter/docs/_includes/charset-table.html

24 lines
596 B
HTML
Raw Normal View History

2020-02-09 04:05:32 +03:00
{%
if site.safe == false %}{%
assign url_root = "/" %}{% else %}{%
assign url_root = "/inter/" %}{% endif
%}
<!-- style in res/base.css -->
2020-02-09 04:05:32 +03:00
<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>