mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-20 21:21:16 -04:00
just some spring cleaning 🧹
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
{{ partial "head/styles" . -}}
|
||||
{{ partialCached "head/favicons" (dict "pngSizes" "192 48 32 16" "icoSizes" "16 32 48") -}}
|
||||
{{ partialCached "head/feeds" . -}}
|
||||
{{ partialCached "head/webmention" . -}}
|
||||
{{ partial "head/canonical" . -}}
|
||||
{{ partialCached "head/webmention" . -}}
|
||||
{{ partialCached "head/indieauth" . -}}
|
||||
{{ partial "head/schema" . -}}
|
||||
|
2
layouts/partials/head/indieauth.html
Normal file
2
layouts/partials/head/indieauth.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
|
||||
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
|
@@ -33,8 +33,8 @@
|
||||
<meta name="twitter:card" content="{{ if .IsPage }}summary_large_image{{ else }}summary{{ end }}">
|
||||
<meta name="twitter:domain" content="{{ (urls.Parse .Site.BaseURL).Host }}">
|
||||
{{- with .Site.Author.social.twitter }}
|
||||
<meta name="twitter:site" content="{{ printf "%s%s" "@" . }}">
|
||||
<meta name="twitter:creator" content="{{ printf "%s%s" "@" . }}">
|
||||
<meta name="twitter:site" content="{{ print "@" . }}">
|
||||
<meta name="twitter:creator" content="{{ print "@" . }}">
|
||||
{{ end -}}
|
||||
{{ with .Site.Author.social.twitterid }}<meta name="twitter:creator_id" content="{{ . }}">{{ end }}
|
||||
<meta name="twitter:dnt" content="on">
|
||||
|
@@ -15,14 +15,14 @@
|
||||
},{{ end }}
|
||||
"sameAs": [
|
||||
{{ $.Site.BaseURL }},{{ with .social }}
|
||||
{{ with .github }}{{ printf "%s%s" "https://github.com/" . }},{{ end }}
|
||||
{{ with .keybase }}{{ printf "%s%s" "https://keybase.io/" . }},{{ end }}
|
||||
{{ with .twitter }}{{ printf "%s%s" "https://twitter.com/" . }},{{ end }}
|
||||
{{ with .medium }}{{ printf "%s%s" "https://medium.com/@" . }},{{ end }}
|
||||
{{ with .linkedin }}{{ printf "%s%s%s" "https://www.linkedin.com/in/" . "/" }},{{ end }}
|
||||
{{ with .facebook }}{{ printf "%s%s" "https://www.facebook.com/" . }},{{ end }}
|
||||
{{ with .instagram }}{{ printf "%s%s%s" "https://www.instagram.com/" . "/" }},{{ end }}
|
||||
{{ with .mastodon }}{{ printf "%s%s" "https://" . }}{{ end }}{{ end }}
|
||||
{{ with .github }}{{ print "https://github.com/" . }},{{ end }}
|
||||
{{ with .keybase }}{{ print "https://keybase.io/" . }},{{ end }}
|
||||
{{ with .twitter }}{{ print "https://twitter.com/" . }},{{ end }}
|
||||
{{ with .medium }}{{ print "https://medium.com/@" . }},{{ end }}
|
||||
{{ with .linkedin }}{{ print "https://www.linkedin.com/in/" . "/" }},{{ end }}
|
||||
{{ with .facebook }}{{ print "https://www.facebook.com/" . }},{{ end }}
|
||||
{{ with .instagram }}{{ print "https://www.instagram.com/" . "/" }},{{ end }}
|
||||
{{ with .mastodon }}{{ print "https://" . }}{{ end }}{{ end }}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user