Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rz3n/hugo-theme-freshstart.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html14
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html6
3 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..498a116
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+ {{- partial "head.html" . -}}
+
+ <body onload="init()">
+ {{- partial "header.html" . -}}
+
+ <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..f319bf9
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,2 @@
+{{ define "main" }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..ac282c3
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,6 @@
+{{ define "title" }}
+ {{ .Title }} &ndash; {{ .Site.Title }}
+{{ end }}
+
+{{ define "main" }}
+{{ end }} \ No newline at end of file