Replace sas-emojis template
parent
86152613b1
commit
183ecfda03
@ -0,0 +1,26 @@
|
||||
{{/*
|
||||
|
||||
This template is used to render the table of SAS emoji table.
|
||||
|
||||
It replaces the old {{sas_emoji_table}} template.
|
||||
|
||||
*/}}
|
||||
|
||||
{{ $emoji_json := readFile "data-definitions/sas-emoji.json" | transform.Unmarshal }}
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Number</th>
|
||||
<th>Emoji</th>
|
||||
<th>Unicode</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
{{ range $emoji_json }}
|
||||
<tr>
|
||||
<td>{{ .number }}</td>
|
||||
<td>{{ .emoji }}</td>
|
||||
<td>{{ .unicode }}</td>
|
||||
<td>{{ .description }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
Loading…
Reference in New Issue