Move all layouts to platters theme
This commit is contained in:
parent
de8101efed
commit
66adceaf24
91 changed files with 0 additions and 0 deletions
25
themes/platters/layouts/nihongo/flashcards.html
Normal file
25
themes/platters/layouts/nihongo/flashcards.html
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue