diff --git a/content/post/2020/07/life-in-the-new-world.md b/content/post/2020/07/life-in-the-new-world.md index 5cdb3ce2..85149c64 100644 --- a/content/post/2020/07/life-in-the-new-world.md +++ b/content/post/2020/07/life-in-the-new-world.md @@ -5,6 +5,8 @@ categories = ["personal","photos","work"] #image = "" series = ["corona-2020"] summary = "" +Victor_Hugo = "true" +Focus_Keyword = "Plague corona covid" +++ **Note** I started writing this 13.Jul.2020. It is now 9.Aug.2020. Oops. diff --git a/content/post/2020/08/butterfly-on-yellow-flower.md b/content/post/2020/08/butterfly-on-yellow-flower.md index ad027b95..7a73de86 100644 --- a/content/post/2020/08/butterfly-on-yellow-flower.md +++ b/content/post/2020/08/butterfly-on-yellow-flower.md @@ -5,9 +5,10 @@ categories = ["Photos"] image = "/photos/Flowers/20200813170424-006.jpg" series = ["Macros"] summary = "" +Victor_Hugo = "true" +Focus_Keyword = "Butterfly" +++ Trying something new this month. Who knows how this will work out. 'Macro' photos, not always with a macro lens. ![Butterfly on Yellow Flower](/photos/Flowers/20200813170424-006.jpg "Butterfly on Yellow Flower") - diff --git a/themes/nederburg/layouts/_default/single.html b/themes/nederburg/layouts/_default/single.html index 01e6a1d6..c026a570 100644 --- a/themes/nederburg/layouts/_default/single.html +++ b/themes/nederburg/layouts/_default/single.html @@ -1,4 +1,5 @@ {{ define "body" }} +{{ partial "victorhugo.html" . }} {{ end }} diff --git a/themes/nederburg/layouts/partials/victorhugo.html b/themes/nederburg/layouts/partials/victorhugo.html new file mode 100644 index 00000000..e0830773 --- /dev/null +++ b/themes/nederburg/layouts/partials/victorhugo.html @@ -0,0 +1,1573 @@ +{{ if .Site.IsServer }} + +{{ if eq .Params.Victor_Hugo "true" }} + + {{ if .Params.focus_keyword }} + + + {{ if eq .Params.clean "true" }}{{ else }} + + + {{ end }} + + + + + + + + + + +
+ + + + + + + +
+ +
+ + + +
+ +
+ + + + + + + + + + + 0 + +
+ +
+ + + + + + + + + + + 0 + +
+ + + + + +
+ + +
+ +
+

Focus Keyword: + {{ if .Params.focus_keyword }}{{ .Params.focus_keyword }}{{ end }} + + + + + +

+
+ + +
+ +
+ + +
+ +
+ + + + + To see the Google and Social Media Snippet, add a description and a title for this post in the front matter. +
+ +
+ {{ $victorhugo__slug := .RelPermalink }} + {{ $victorhugo__slug := substr $victorhugo__slug 0 -1 }} + {{ $victorhugo__slug := substr $victorhugo__slug 1 200 }} + +

Your post on Google

+
+ + + + + + + + + {{ replace $victorhugo__slug "/" " › " }} + + +
+ +
+ +
+

Your post when shared on Twitter

+ +
+ + + + + + +
+ +
+ + + +
+ Victor Hugo @thefreebundle · {{ .Date.Format "Jan 2" }} + + + + +
+ + + + + + + + + +
+
+ +
+ + +
+ + +

About Victor Hugo

+ +
+ + +
+ + + + + + + {{ else }} +
+ +
+ + + +
+ +
+ Tip: whenever you see this icon + + + you can hover with your mouse for a few seconds and a quick tip will be displayed. +
+ +
+ +
+ {{ end }} + + {{ else }} +{{ end }} + +{{ end }} +