aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-20 22:35:52 +0530
commitd26ecb989f5e5b9e06b34c106a3d391fd2910524 (patch)
tree5b2f2391eb682881c90930c040f260854b3f1936 /layouts/_default
First commit
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html13
-rw-r--r--layouts/_default/list.html0
-rw-r--r--layouts/_default/single.html16
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 }}