diff --git a/layouts/_default/flickr.html b/layouts/_default/flickr.html index 9289a92..19d3916 100644 --- a/layouts/_default/flickr.html +++ b/layouts/_default/flickr.html @@ -27,5 +27,6 @@ + {{ partial "share.html" . }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4c3c828..f704d82 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,16 +3,6 @@
{{ partial "content.html" . }}
- {{ if .Section }} -
- Share this page -

- - - - -

-
- {{ end }} + {{ partial "share.html" . }} {{ end }} diff --git a/layouts/_default/spotify.html b/layouts/_default/spotify.html index e46c204..a5cb69e 100644 --- a/layouts/_default/spotify.html +++ b/layouts/_default/spotify.html @@ -43,5 +43,6 @@ + {{ partial "share.html" . }} {{ end }} diff --git a/layouts/partials/share.html b/layouts/partials/share.html new file mode 100644 index 0000000..02c2a00 --- /dev/null +++ b/layouts/partials/share.html @@ -0,0 +1,11 @@ +{{ if .Section }} +
+ Share this page +

+ + + + +

+
+{{ end }}