Hugo go go go
Made a hugo setup from scratch to generate a static blog and portfolio webpage. The old stuff may still be found in static/old.
This commit is contained in:
6
layouts/partials/i18n/list.html
Normal file
6
layouts/partials/i18n/list.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ if .IsTranslated }}<h4>{{ T "translations" }}</h4>
|
||||
<ul>{{ range .Translations }}
|
||||
<li>
|
||||
<a href='{{ .Permalink }}'>{{ .Lang }}: {{ .Title }}{{ if .IsPage }} ({{ i18n "wordCount" . }}){{ end }}</a>
|
||||
</li>{{ end }}
|
||||
</ul>{{ end }}
|
Reference in New Issue
Block a user