From b21a6bcf1f4118d7802deb39d2d4aafcb5eb0463 Mon Sep 17 00:00:00 2001 From: fillotassi Date: Sat, 3 Nov 2018 17:04:19 +0100 Subject: [PATCH] Fix erroneous deletion --- themes/HOD2k18/layouts/_default/list.html | 10 ++++++++++ themes/HOD2k18/layouts/_default/single.html | 22 +++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 themes/HOD2k18/layouts/_default/list.html create mode 100644 themes/HOD2k18/layouts/_default/single.html diff --git a/themes/HOD2k18/layouts/_default/list.html b/themes/HOD2k18/layouts/_default/list.html new file mode 100644 index 0000000..bc7f4e6 --- /dev/null +++ b/themes/HOD2k18/layouts/_default/list.html @@ -0,0 +1,10 @@ +{{ partial "header.html" . }} +
+ {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ range $paginator.Pages }} + {{ partial "summary.html" . }} + {{ end }} + {{ partial "pagination.html" . }} +
+{{ partial "sidebar.html" . }} +{{ partial "footer.html" . }} diff --git a/themes/HOD2k18/layouts/_default/single.html b/themes/HOD2k18/layouts/_default/single.html new file mode 100644 index 0000000..f584e0f --- /dev/null +++ b/themes/HOD2k18/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