diff --git a/README.md b/README.md index c5c4dd28a..e4b9ef897 100644 --- a/README.md +++ b/README.md @@ -99,3 +99,5 @@ disqusShortname = "XXX" You can also inject arbitrary HTML into `` simply by overriding the `extra-in-head.html` partial, which is meant for that purpose. + +The theme is also enabled with [IndieWeb](https://indieweb.org) support which can be validated via different tools at website [IndieWebify.me](https://indiewebify.me/). diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b0eedc999..1a4033e1c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -9,6 +9,8 @@ googleAnalytics = "XXX" [Author] name = "My Name" profile = "https://google.com/+XXX" + email = "XXX@example.com" + nick = "my-name" [Taxonomies] tag = "tags" @@ -23,6 +25,7 @@ googleAnalytics = "XXX" gplus = "https://google.com/+XXX" twitter = "https://twitter.com/XXX" stackoverflow = "https://stackoverflow.com/users/XXX/YYY" + webmentionEndpoint = "https://example.com/webmention" email = "XXX@example.com" opengraph = true shareTwitter = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 45da505d2..c31c12f2c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,9 +11,19 @@

- -

{{ end }} {{ with .Site.Params.twitter }} - + {{ end }} {{ with .Site.Params.gitlab }} - + {{ end }} {{ with .Site.Params.github }} - + {{ end }} {{ with .Site.Params.stackoverflow }} - + {{ end }} {{ with .Site.Params.linkedin }} - + {{ end }} {{ with .Site.Params.gplus }} - + {{ end }} {{ with .Site.Params.email }} - + {{ end }} diff --git a/layouts/partials/post-content.html b/layouts/partials/post-content.html index 5ca6487f7..a8febbbbc 100644 --- a/layouts/partials/post-content.html +++ b/layouts/partials/post-content.html @@ -1,4 +1,4 @@ -
+
{{ with .Params.Image }} {{ end }} diff --git a/layouts/partials/post-header.html b/layouts/partials/post-header.html index 9e43090d5..f493306d8 100644 --- a/layouts/partials/post-header.html +++ b/layouts/partials/post-header.html @@ -1,14 +1,16 @@
-

{{ .Title }}

+

{{ .Title }}

{{ if .Description }}

{{ .Description }}

{{ end }} diff --git a/layouts/post/single.html b/layouts/post/single.html index 146a1ab4d..ffbc7d15c 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,7 +1,7 @@ {{ partial "header.html" . }}
-
+
{{ partial "post-header.html" . }} {{ partial "post-content.html" . }}