Compare commits

..

2 Commits

Author SHA1 Message Date
32738ce835 Add more translations 2023-01-01 12:58:41 -08:00
2f4e5f58a0 Remove hardcoded English from tag page content 2023-01-01 12:41:28 -08:00
4 changed files with 9 additions and 3 deletions

View File

@@ -50,3 +50,9 @@
[note]
other = "note"
[from]
other = "From"
[searchRequiresJS]
other = "Search (requires JavaScript)"

View File

@@ -1,3 +1,3 @@
<div class="highlight-group">
<div class="highlight-label">From <a href="{{ .url }}">{{ path.Base .path }}</a>{{ .comment }}</div>{{ .content }}
<div class="highlight-label">{{ i18n "from" }} <a href="{{ .url }}">{{ path.Base .path }}</a>{{ .comment }}</div>{{ .content }}
</div>

View File

@@ -7,7 +7,7 @@
<div class="stork-wrapper">
<div class="stork-input-wrapper">
<input class="stork-input" data-stork="blog" placeholder="Search (requires JavaScript)"/>
<input class="stork-input" data-stork="blog" placeholder="{{ i18n "searchRequiresJS" }}"/>
</div>
<div class="stork-output" data-stork="blog-output"></div>
</div>

View File

@@ -1,6 +1,6 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
Below is a list of all the tags ever used on this site.
{{ .Content }}
<ul>
{{ range sort .Pages "Title" }}