mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 11:46:16 +00:00
b7d524880f
It just shown what entries there are. It will let administrators modify it later.
34 lines
716 B
HTML
34 lines
716 B
HTML
{{define "interwiki map"}}Interwiki map{{end}}
|
|
{{define "title"}}{{template "interwiki map"}}{{end}}
|
|
|
|
{{define "body"}}
|
|
<main class="main-width">
|
|
<h1>{{template "interwiki map"}}</h1>{{$emojies := .Emojies}}
|
|
{{if len .Entries}}
|
|
<ul>
|
|
{{range $i, $wiki := .Entries}}
|
|
<li>
|
|
<dl>
|
|
<dt>Names</dt>
|
|
{{range .Names}}<dd>{{.}}</dd>{{end}}
|
|
|
|
<dt>Description</dt>
|
|
<dd>{{.Description}}</dd>
|
|
|
|
<dt>Engine</dt>
|
|
<dd>{{index $emojies $i}}</dd>
|
|
|
|
<dt>URL</dt>
|
|
<dd><a href="{{.URL}}">{{.URL}}</a></dd>
|
|
|
|
<dt>Link format</dt>
|
|
<dd>{{.LinkFormat}}</dd>
|
|
</dl>
|
|
</li>
|
|
{{end}}
|
|
</ul>
|
|
{{else}}
|
|
<p>No interwiki map set.</p>
|
|
{{end}}
|
|
</main>
|
|
{{end}} |