diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 65d0b721..c66c272a 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -41,7 +41,10 @@

Interactions

-
+
Interactions on this site are possible either via webmentions or matrix courtesy of cactus chat, though guest (not logged in) commenting is not yet available. Alternatively, contact me via matrix or email.

+ |
+ +

@@ -79,6 +82,7 @@ commentSectionId: "{{ .Page.Params.slug }}" })
+
{{ else if eq .Type "bookmarkof" }}
{{ $cats := slice }} {{ range .Site.Data.bookmarks }} diff --git a/themes/nipponalba/static/css/style.css b/themes/nipponalba/static/css/style.css index 8817682c..84827657 100644 --- a/themes/nipponalba/static/css/style.css +++ b/themes/nipponalba/static/css/style.css @@ -850,6 +850,33 @@ ul.pagination { object-position:middle; } +#toggle_comments, #toggle_webmentions{ + display:none; +} +#webmentions_label, #comments_label{ + display:inline; + margin:0; + padding:0; +} + +#toggle_webmentions:checked - #webmentions_label, #toggle_comments:checked + #comments_label{ + font-weight: bold; +} + +#toggle_webmentions:checked ~ #webmentions_frame { + visibility:visible; +} +#toggle_webmentions:checked ~ #comments_frame { + visibility:hidden; + display:none; +} +#toggle_comments:checked ~ #comments_frame { + visibility: visible; +} +#toggle_comments:checked ~ #webmentions_frame { + visibility: hidden; + display:none; +} @media screen and (max-width: 800px) { #page-top, main { width: 95%;