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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-08-25 11:22:22 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-08-25 11:22:22 +0300
commit6132bd25e344d2ef0fdb5f896c9626538bc23131 (patch)
treeb44cc8fd1c3d2276cc82d052faa29f3598aa446e /layouts
parentc254011c0fa7752b5dc0f29070f879a1032a8dd7 (diff)
Add layout for about page
Resolves #1
Diffstat (limited to 'layouts')
-rw-r--r--layouts/about/list.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/about/list.html b/layouts/about/list.html
new file mode 100644
index 0000000..278b4dd
--- /dev/null
+++ b/layouts/about/list.html
@@ -0,0 +1,25 @@
+{{ partial "header.html" . }}
+
+<main>
+ <div class="post">
+
+ <h1 class="post-title">{{ .Title }}</h1>
+ <div class="post-line"></div>
+
+ {{ .Content }}
+
+ </div>
+
+ <div class="pagination">
+ {{ if .Next }}
+ <a href="{{ .Next.URL }}" class="left arrow">&#8592;</a>
+ {{ end }}
+ {{ if .Prev }}
+ <a href="{{ .Prev.URL }}" class="right arrow">&#8594;</a>
+ {{ end }}
+
+ <a href="#" class="top">Top</a>
+ </div>
+</main>
+
+{{ partial "footer.html" . }} \ No newline at end of file