Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / _default
diff options
context:
space:
mode:
2 files changed, 15 insertions, 0 deletions
-rw-r--r--layouts/_default/list.html8
-rw-r--r--layouts/_default/single.html7
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..cf5b2b2
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,8 @@
+{{ partial "header.html" . }}
+<main role="main" class="article-list">
+ <h1 class="list-title">{{ .Title }}</h1>
+ {{ range .Data.Pages }}
+ {{ partial "article-list-item.html" . }}
+ {{ end }}
+</main>
+{{ partial "footer.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..b9ff539
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,7 @@
+{{ partial "header.html" . }}
+
+<main role="main" class="article">
+ {{ partial "article.html" . }}
+</main>
+
+{{ partial "footer.html" . }}