From e9bb9c81e72bfda78aec6eb43c7bb43f19223556 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 08:57:48 +0100 Subject: [PATCH 1/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 66973440..3f697c46 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -102,7 +102,7 @@ {{ if .Params.likeof }} post{{ end }} {{ if .Params.inreplyto }} post{{ end }} {{ if .Params.repostof }} post{{ end }}

- {{ if .Content }}
{{ .Content }}

{{end}} + {{ if .Content }}
{{ .Content }}

{{end}} From 941ab6db13865b9c22f6d35af5100754cbef7fc1 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 09:03:43 +0100 Subject: [PATCH 2/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/baseof.html | 1 - themes/nipponalba/layouts/_default/single.html | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nipponalba/layouts/_default/baseof.html b/themes/nipponalba/layouts/_default/baseof.html index 54005be1..94b540f8 100644 --- a/themes/nipponalba/layouts/_default/baseof.html +++ b/themes/nipponalba/layouts/_default/baseof.html @@ -2,7 +2,6 @@ {{- partial "head.html" . -}} - webmention
{{ partial "navbar.html" . }} diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 3f697c46..668ed120 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -95,6 +95,7 @@
From 3dd1a3f00b91c5a8606a84609ee0f21f3b4d63f0 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 09:15:24 +0100 Subject: [PATCH 3/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 668ed120..38f11705 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -11,7 +11,8 @@ {{ .ReadingTime }}-minute read {{end}} -
{{ .Content }} +
webmention + {{ .Content }} {{ if eq .Type "photo"}}
{{ range .Page.Params.Photo }} @@ -105,6 +106,7 @@ {{ if .Params.repostof }} post{{ end }}

{{ if .Content }}
{{ .Content }}

{{end}} +
{{end}} From 958fdc448155e09a9a4f4429d611ae9aa42d42f6 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 09:41:34 +0100 Subject: [PATCH 4/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 38f11705..0200f626 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -89,26 +89,28 @@ {{ end }} {{ end }} {{ else }} -{{ if .Params.inreplyto }}
{{ end }} -{{ if .Params.likeof }}
{{ end }} -{{ if .Params.repostof }}
{{ end }} +
+{{ if .Params.inreplyto }}
{{ end }} +{{ if .Params.likeof }}
{{ end }} +{{ if .Params.repostof }}
{{ end }} - +
+ {{end}} {{end}} From 9f63a815ba0cfb149a0fdcf516fa666805c80a06 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 09:51:09 +0100 Subject: [PATCH 5/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 0200f626..705360e9 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -89,10 +89,9 @@ {{ end }} {{ end }} {{ else }} -
-{{ if .Params.inreplyto }}
{{ end }} -{{ if .Params.likeof }}
{{ end }} -{{ if .Params.repostof }}
{{ end }} +{{ if .Params.inreplyto }}
{{ end }} +{{ if .Params.likeof }}
{{ end }} +{{ if .Params.repostof }}
{{ end }} @@ -102,15 +101,14 @@ {{ if .Params.likeof }}

Liked {{ end }} {{ if .Params.repostof }}

Shared {{ end }} someone's - {{ if .Params.likeof }} post{{ end }} - {{ if .Params.inreplyto }} post{{ end }} - {{ if .Params.repostof }} post{{ end }}

+ {{ if .Params.likeof }} post{{ end }} + {{ if .Params.inreplyto }} post{{ end }} + {{ if .Params.repostof }} post{{ end }}

{{ if .Content }}
{{ .Content }}

{{end}}
- {{end}} {{end}} From fc0c0d22f8e116649e1a30bfd071452ae99e52ff Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 09:54:48 +0100 Subject: [PATCH 6/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 705360e9..18a4a95f 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -95,8 +95,7 @@ -
- webmention + webmention {{ if .Params.inreplyto }}

Replied to {{ end }} {{ if .Params.likeof }}

Liked {{ end }} {{ if .Params.repostof }}

Shared {{ end }} @@ -104,11 +103,10 @@ {{ if .Params.likeof }} post{{ end }} {{ if .Params.inreplyto }} post{{ end }} {{ if .Params.repostof }} post{{ end }}

- {{ if .Content }}
{{ .Content }}

{{end}} + {{ if .Content }}
{{ .Content }}

{{end}} -
- + {{end}} {{end}} From ea8ec649a9947986307c5f44320954aaf9b987a5 Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 18 Jun 2020 10:24:22 +0100 Subject: [PATCH 7/7] tinkering with webmentions stuff --- themes/nipponalba/layouts/_default/single.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 18a4a95f..77b6507a 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -89,12 +89,11 @@ {{ end }} {{ end }} {{ else }} -{{ if .Params.inreplyto }}
{{ end }} -{{ if .Params.likeof }}
{{ end }} -{{ if .Params.repostof }}