mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-17 03:29:31 -07:00
14 lines
442 B
HTML
14 lines
442 B
HTML
{{- define "main" -}}
|
|
<script>
|
|
document.getElementById("main").setAttribute("nextText", "{{- i18n "next" -}}")
|
|
document.getElementById("main").setAttribute("prevText", "{{- i18n "prev" -}}")
|
|
document.getElementById("main").setAttribute("closeText", "{{- i18n "close" -}}")
|
|
</script>
|
|
<div class="container">
|
|
{{- partial "nav.html" . -}}
|
|
<article class="info">
|
|
{{ .Content }}
|
|
</article>
|
|
</div>
|
|
{{- end -}}
|