diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index fbd4d8b3..6f5aca9d 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,18 +1,18 @@ -
+
-

{{ .Title }}

+

{{ .Title }}

{{ partial "post_meta.html" . }}
-

+

{{ .Summary }}

{{ if .Truncated }} {{ end }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2202ff41..7a9ee8d0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -37,6 +37,16 @@ + + + + + + + {{ with .Site.Params.pgpkey }} + + {{ end }} + diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index abc6bb98..cf172379 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -2,18 +2,27 @@
- +
{{ $baseUrl := .Site.BaseURL }} + + {{ with $.Param "author" }} +
+ + +
+ {{ end }} + + {{ if isset .Params "topics" }} {{ $count := len .Params.topics }} {{ if gt $count 0 }}
{{ range $k, $v := .Params.topics }} - {{ . }}{{ if lt $k (sub $count 1) }} /{{ end }} + {{ . }}{{ if lt $k (sub $count 1) }} /{{ end }} {{ end }}
{{ end }} diff --git a/layouts/post/single.html b/layouts/post/single.html index f9f6f09f..4dbdb9cf 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,14 +1,16 @@ {{ partial "header.html" . }} - +
-

{{ .Title }}

-

{{ .Description }}

+

{{ .Title }}

+

{{ .Description }}

{{ partial "post_meta.html" . }} +
{{ .Content }} +
{{ partial "share.html" . }} @@ -21,5 +23,6 @@

{{ .Description }}

{{ partial "telegram.html" . }}
+
{{ partial "footer.html" . }} diff --git a/layouts/shortcodes/h-card.html b/layouts/shortcodes/h-card.html new file mode 100644 index 00000000..a6a6188d --- /dev/null +++ b/layouts/shortcodes/h-card.html @@ -0,0 +1,14 @@ +
+
+
+
+ +
+
+
+ My name is {{ .Get "name" }}, or more formally {{ .Get "honorific" }} {{ .Get "given-name" }} {{ .Get "middle-name" }} {{ .Get "family-name" }}.
+ My nickname is {{ .Get "nickname" }}. + This site you're on, entitled {{ site.Title }}, is my personal website as part of the IndieWeb
+ + If you need to contact me, please encrypt your messages using my public key. +