From ead2e476222caf80c4e87627dc364e0064c54955 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 21 Nov 2022 15:29:15 -0800 Subject: [PATCH] Add Mastodon, and tweak socials to include rel=me --- blog/config.toml | 1 + blog/layouts/partials/social-follow.html | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 blog/layouts/partials/social-follow.html diff --git a/blog/config.toml b/blog/config.toml index 054917f..f72b151 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -16,6 +16,7 @@ SectionPagesMenu = "main" twitter = "https://twitter.com/jacksquaredson" github = "https://github.com/scubbo" linkedin = "https://www.linkedin.com/in/jack-jackson-14a47441/" + mastodon = "https://fosstodon.org/@scubbo" custom_css = ['inlinespoiler.css'] show_reading_time = true page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/" diff --git a/blog/layouts/partials/social-follow.html b/blog/layouts/partials/social-follow.html new file mode 100644 index 0000000..441e733 --- /dev/null +++ b/blog/layouts/partials/social-follow.html @@ -0,0 +1,13 @@ +{{ $socials := partialCached "func/socials/Get" "socials/Get" }} +
+ {{ range $socials }} + + {{ with .icon }} + {{ . }} + {{ else }} + {{ .label }} + {{ end }} + {{- partial "new-window-icon.html" . -}} + + {{ end }} +
\ No newline at end of file