Skip to content
Snippets Groups Projects
Verified Commit b72f7a6e authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Added better image handing for open-graph

parent 2771b68f
No related branches found
No related tags found
No related merge requests found
Pipeline #1912 passed
......@@ -27,6 +27,10 @@
{{if .Params.image_header}}
<meta name="twitter:image" content="{{.Params.image_header}}">
<meta property="og:image" content="{{.Params.image_header}}">
{{ else if .IsHome }}
<meta name="twitter:image" content="/images/logo-header-light.png">
<meta property="og:image" content="/images/logo-header-light.png">
{{else}}
{{ $tags := .Params.tags}}
{{ if .Params.social_image_url }}
......@@ -65,9 +69,9 @@
<meta name="description" content="{{ .Site.Params.Description }}">
<meta name="twitter:description" content="{{ .Site.Params.Description }}">
{{else}}
<meta name="og:description" content="FLEAR, An open-source and open-standards incubator for Ham Radio">
<meta name="description" content="FLEAR, An open-source and open-standards incubator for Ham Radio">
<meta name="twitter:description" content="FLEAR, An open-source and open-standards incubator for Ham Radio">
<meta name="og:description" content="FLEAR is an open-source and open-standards incubator for Ham Radio">
<meta name="description" content="FLEAR is an open-source and open-standards incubator for Ham Radio">
<meta name="twitter:description" content="FLEAR is an open-source and open-standards incubator for Ham Radio">
{{end}}
<script defer src="/_vercel/insights/script.js"></script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment