Move all layouts to platters theme

This commit is contained in:
Eryn Wells 2024-10-07 21:39:17 -07:00
parent de8101efed
commit 66adceaf24
91 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{{ define "main" }}
{{ partial "content_header.html" . }}
<nav class="languages">
{{ range .AllTranslations }}
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
</nav>
<section class="flashcards">
<div class="shadow left"></div>
<div class="shadow right"></div>
<ul></ul>
</section>
{{ end }}
{{ define "styles" }}
{{ partial "single_styles.html" . }}
{{ end }}
{{ define "scripts" }}
{{- $flashcards := index $.Site.Data.nihongo.flashcards "all" -}}
<script>
const flashcards = {{ $flashcards | jsonify | safeJS }};
</script>
{{ partial "single_scripts.html" . }}
{{ end }}