1
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:
2021-05-20 10:33:59 -04:00
parent e4ab02749b
commit 378b2385da
14 changed files with 85 additions and 63 deletions

View File

@@ -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" . -}}

View File

@@ -0,0 +1,2 @@
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">

View File

@@ -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">

View File

@@ -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>