diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 13 | ||||
-rw-r--r-- | layouts/_default/list.html | 0 | ||||
-rw-r--r-- | layouts/_default/single.html | 16 |
3 files changed, 29 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..2c312be --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + {{- partial "head.html" . -}} + <body> + {{ if ne .Kind "home" }} + {{- partial "nav.html" .Params.navpage -}} + {{ end }} + <main> + {{- block "main" . }}{{- end }} + </main> + {{- partial "footer.html" . -}} + </body> +</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/list.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..4602cac --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,16 @@ +{{ define "main" }} +<div class="section" style="background-color: {{ .Params.bgColor }};"> + <div class="section-child"> + <div class="img-r"> + <a href="/danbooru-notice/"> + <img src="{{ .Params.img }}" alt="{{ .Params.imgAlt }}"/> + </a> + </div> + <p>{{ .Params.imgText }}</p> + + <div id="content"> + {{ .Content }} + </div> + </div> +</div> +{{ end }} |