From 85e9e23f15fc3cbad2d63ae6335231d470b8d423 Mon Sep 17 00:00:00 2001 From: Curtis Timson Date: Sun, 18 Feb 2018 19:51:39 +0000 Subject: :sparkles: Add initial sidebar and refactor post content --- layouts/_default/single.html | 52 +++++++++++++++++++++++++++----------- layouts/partials/post/content.html | 15 +++++++++++ package.json | 2 +- 3 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 layouts/partials/post/content.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 93054e3..978afff 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -23,22 +23,44 @@
+
+
- -
- -
-

{{ .Title }}

- {{ if not .Date.IsZero }} -

Posted {{ .Date.Format "2 Jan 2006" }}

- {{ end }} -
- {{ .Content }} -
- - {{ if .Params.disqusid }} -
- {{ end }} + {{ partial "post/content.html" . }} + + +
+
+ + +
+ +
+

Sed etiam lorem nulla

+
+

Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

+ +
+
+
+

Feugiat consequat

+
+

Veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat sed lorem consequat feugiat lorem dolore.

+ + +
+ +
+
diff --git a/layouts/partials/post/content.html b/layouts/partials/post/content.html new file mode 100644 index 0000000..7134fa2 --- /dev/null +++ b/layouts/partials/post/content.html @@ -0,0 +1,15 @@ + +
+ +
+

{{ .Title }}

+ {{ if not .Date.IsZero }} +

Posted {{ .Date.Format "2 Jan 2006" }}

+ {{ end }} +
+ {{ .Content }} +
+ +{{ if .Params.disqusid }} +
+{{ end }} \ No newline at end of file diff --git a/package.json b/package.json index c6a4c46..7337bd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-dopetrope", - "version": "3.0.0", + "version": "3.1.0", "description": "Hugo Theme Dopetrope", "main": "index.js", "scripts": { -- cgit v1.2.3