hanayo/templates/doc.html

28 lines
746 B
HTML
Raw Permalink Normal View History

2019-02-23 13:29:15 +00:00
{{/*###
Handler=/doc
TitleBar=Documentation
KyutGrill=documentation.jpg
HugeHeadingRight=true
*/}}
{{ define "tpl" }}
<div class="ui container">
<div class="ui segments">
<div class="ui segment">
{{ .T "Need some help getting around? Look no further! From here you will be able to view our documentation, which is basically a very simplistic wiki." }}
</div>
<div class="ui segment">
{{ with documentationFiles .Context.Language }}
{{ if . }}
<ul class="ui list">
{{ range . }}
<li><a href="/doc/{{ .Slug }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ else }}
2019-02-23 17:23:22 +00:00
{{ .T "Looks like there is no documentation on this Yozora instance!" }}
2019-02-23 13:29:15 +00:00
{{ end }}
{{ end }}
</div>
</div>
</div>
{{ end }}