diff --git a/themes/saturn/layouts/blog/single.html b/themes/saturn/layouts/blog/single.html index c425ba5..f2cd02c 100644 --- a/themes/saturn/layouts/blog/single.html +++ b/themes/saturn/layouts/blog/single.html @@ -10,6 +10,7 @@ {{ .Content }} + {{ partial "webmentions.html" }}
{{ end }} diff --git a/themes/saturn/layouts/notes/single.html b/themes/saturn/layouts/notes/single.html index b600265..9fc4a62 100644 --- a/themes/saturn/layouts/notes/single.html +++ b/themes/saturn/layouts/notes/single.html @@ -10,6 +10,7 @@ {{ .Content }} + {{ partial "webmentions.html" }}
{{ end }} diff --git a/themes/saturn/layouts/partials/webmentions.html b/themes/saturn/layouts/partials/webmentions.html new file mode 100644 index 0000000..b5481c4 --- /dev/null +++ b/themes/saturn/layouts/partials/webmentions.html @@ -0,0 +1,9 @@ +
+

Have you written a response to this post? Send me a webmention!

+
+ + + + +
+
diff --git a/themes/saturn/static/css/main.css b/themes/saturn/static/css/main.css index 542d44b..1ce0edd 100644 --- a/themes/saturn/static/css/main.css +++ b/themes/saturn/static/css/main.css @@ -374,6 +374,17 @@ footer { overflow-wrap: break-word; } +.send-webmention { + margin: 55px 25px; + max-width: fit-content; + border: 1px dotted var(--primary-text); + padding: 0 20px 20px; +} + +.send-webmention p { + font-size: 1.3rem; +} + @media only screen and (max-width: 500px) { div.nav { border: none;