diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:30:49 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:31:25 +0100 |
commit | 015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch) | |
tree | 81cf315da47e263a79a892428240502cf0f7d079 /i18n_views/onts.html | |
parent | bf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff) | |
download | honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip |
shorter patch names, updated README.md, new Makefile
Diffstat (limited to 'i18n_views/onts.html')
-rw-r--r-- | i18n_views/onts.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/i18n_views/onts.html b/i18n_views/onts.html new file mode 100644 index 0000000..4a208c8 --- /dev/null +++ b/i18n_views/onts.html @@ -0,0 +1,16 @@ +{{ template "header.html" . }} +<main> +<div class="info"> +<p>{{ .i18n.Onts }} +{{ $letter := 0 }} +<ul> +{{ range .Onts }} +{{ if not (eq $letter (index .Name 0)) }} +{{ $letter = (index .Name 0) }} +<li><p> +{{ end }} +<span style="white-space: nowrap;"><a href="/o/{{ .Name }}">#{{ .Name }}</a> ({{ .Count }})</span> +{{ end }} +</ul> +</div> +</main> |