mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-17 03:29:31 -07:00
* refactor: output article element when needed * refactor: refactor container styles and media queries - Add the `$tablet` variable to `_container.scss` - Add a media query to `_container.scss` - Import `_container.scss` in `critical.scss` - Remove the import of `_container.scss` in `style.scss`
17 lines
575 B
HTML
17 lines
575 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" -}}")
|
|
document.getElementById("main").setAttribute("loadingText", "{{- i18n "loading" -}}")
|
|
</script>
|
|
<div class="container">
|
|
{{- partial "nav.html" . -}}
|
|
{{- with .Content -}}
|
|
<article class="info">
|
|
{{- . -}}
|
|
</article>
|
|
{{- end -}}
|
|
</div>
|
|
{{- end -}}
|