mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +00:00
add verification links to head on home page
This commit is contained in:
parent
fe1a3d90cd
commit
2dffde5755
2 changed files with 25 additions and 1 deletions
|
@ -170,4 +170,20 @@ url = "https://torchlight.dev"
|
|||
|
||||
[[powerLinks]]
|
||||
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"/>
|
||||
{{ if or (.Site.Params.noindex) (.Params.noindex) }}<meta name="robots" content="noindex" /> {{ end }}
|
||||
|
||||
<!-- RSS -->
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
|
||||
<!-- verification links -->
|
||||
{{ if .IsHome }}
|
||||
{{ range $item := .Site.Params.verifyLinks }}
|
||||
<link rel="me" title="{{ $item.title }}" href="{{ $item.url }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ partialCached "favicon" . }}
|
||||
{{ partial "opengraph" . }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue