mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 15:02:18 +00:00
add verification links to head on home page
This commit is contained in:
parent
f42fb4d223
commit
3536f61fc9
2 changed files with 25 additions and 1 deletions
|
@ -171,3 +171,19 @@ url = "https://torchlight.dev"
|
||||||
[[powerLinks]]
|
[[powerLinks]]
|
||||||
title = "cabin"
|
title = "cabin"
|
||||||
url = "https://withcabin.com/privacy/runtimeterror.dev"
|
url = "https://withcabin.com/privacy/runtimeterror.dev"
|
||||||
|
|
||||||
|
[[verifyLinks]]
|
||||||
|
title = "omg.lol"
|
||||||
|
url = "https://proven.lol/cd10d3"
|
||||||
|
|
||||||
|
[[verifyLinks]]
|
||||||
|
title = "CounterSocial"
|
||||||
|
url = "https://counter.social/@john_b"
|
||||||
|
|
||||||
|
[[verifyLinks]]
|
||||||
|
title = "Mastodon"
|
||||||
|
url = "https://social.lol/@jbowdre"
|
||||||
|
|
||||||
|
[[verifyLinks]]
|
||||||
|
title = "GitHub"
|
||||||
|
url = "https://github.com/jbowdre"
|
||||||
|
|
|
@ -5,10 +5,18 @@
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
{{ if or (.Site.Params.noindex) (.Params.noindex) }}<meta name="robots" content="noindex" /> {{ end }}
|
{{ if or (.Site.Params.noindex) (.Params.noindex) }}<meta name="robots" content="noindex" /> {{ end }}
|
||||||
|
|
||||||
|
<!-- RSS -->
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- verification links -->
|
||||||
|
{{ if .IsHome }}
|
||||||
|
{{ range $item := .Site.Params.verifyLinks }}
|
||||||
|
<link rel="me" title="{{ $item.title }}" href="{{ $item.url }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ partialCached "favicon" . }}
|
{{ partialCached "favicon" . }}
|
||||||
{{ partial "opengraph" . }}
|
{{ partial "opengraph" . }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue