diff --git a/layout/_macro/post.njk b/layout/_macro/post.njk index 222723d..87d27eb 100644 --- a/layout/_macro/post.njk +++ b/layout/_macro/post.njk @@ -129,6 +129,8 @@ {%- endif %} + {{ partial('_partials/post/post-share.njk', {}, {cache: theme.cache.enable}) }} + {%- if theme.post_navigation and (post.prev or post.next) %} {%- set prev = post.prev if theme.post_navigation === 'right' else post.next %} {%- set next = post.next if theme.post_navigation === 'right' else post.prev %} diff --git a/layout/_partials/footer.njk b/layout/_partials/footer.njk index d39307a..0e27c12 100644 --- a/layout/_partials/footer.njk +++ b/layout/_partials/footer.njk @@ -81,10 +81,4 @@ {%- endif %} -{%- if theme.add_this_id %} -
- -
-{%- endif %} - {{- next_inject('footer') }} diff --git a/layout/_partials/post/post-share.njk b/layout/_partials/post/post-share.njk new file mode 100644 index 0000000..0f2148f --- /dev/null +++ b/layout/_partials/post/post-share.njk @@ -0,0 +1,5 @@ +{%- if theme.add_this_id %} +
+ +
+{%- endif %} diff --git a/source/css/_common/components/post/post-widgets.styl b/source/css/_common/components/post/post-widgets.styl index 632f0a8..346f555 100644 --- a/source/css/_common/components/post/post-widgets.styl +++ b/source/css/_common/components/post/post-widgets.styl @@ -1,6 +1,7 @@ .social-like { - display: flex; + border-top: 1px solid $gainsboro; font-size: $font-size-small; - justify-content: center; + margin-top: 1em; + padding-top: 1em; text-align: center; }