From 406c5961cbce9b9defde833e3c68c73a0a05536e Mon Sep 17 00:00:00 2001 From: vimux Date: Fri, 14 Oct 2016 23:41:10 +0300 Subject: Initial commit --- layouts/_default/list.html | 10 ++++++++++ layouts/_default/single.html | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html (limited to 'layouts/_default') diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e8560c6 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,10 @@ +{{ partial "header.html" . }} +
+ {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }} + {{ range $paginator.Pages }} + {{ partial "summary.html" . }} + {{ end }} + {{ partial "pagination.html" . }} +
+{{ partial "sidebar.html" . }} +{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..f584e0f --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,22 @@ +{{ partial "header.html" . }} +
+
+

{{ .Title }}

+ +
+ {{ .Content }} +
+
+
    + {{ range .Params.tags }} +
  • {{ . }}
  • + {{ end }} +
+
+
+ {{ template "_internal/disqus.html" . }} +
+
+
+{{ partial "sidebar.html" . }} +{{ partial "footer.html" . }} \ No newline at end of file -- cgit v1.2.3