Removed avatar as blog post photo

This commit is contained in:
Brandon Rozek 2024-12-29 10:53:14 -05:00
parent 864dce1ff9
commit bd7e11b421
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
4 changed files with 2 additions and 8 deletions

View file

@ -36,9 +36,7 @@
"@context": "https://schema.org", "@context": "https://schema.org",
"@type": "NewsArticle", "@type": "NewsArticle",
"headline": "{{ .Title }}", "headline": "{{ .Title }}",
"image": [ "image": [],
"{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
],
"datePublished": "{{ .Date.Format "2006-01-02" }}", "datePublished": "{{ .Date.Format "2006-01-02" }}",
"author": [{ "author": [{
"@type": "Person", "@type": "Person",

View file

@ -39,9 +39,7 @@
"@context": "https://schema.org", "@context": "https://schema.org",
"@type": "NewsArticle", "@type": "NewsArticle",
"headline": "{{ .Title }}", "headline": "{{ .Title }}",
"image": [ "image": [],
"{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
],
"datePublished": "{{ .Date.Format "2006-01-02" }}", "datePublished": "{{ .Date.Format "2006-01-02" }}",
"author": [{ "author": [{
"@type": "Person", "@type": "Person",

View file

@ -15,7 +15,6 @@
<meta name="twitter:image" content="{{ index . 0 | absURL }}"> <meta name="twitter:image" content="{{ index . 0 | absURL }}">
{{ else -}} {{ else -}}
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}">
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- end }} {{- end }}

View file

@ -62,7 +62,6 @@
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
{{- template "_internal/opengraph.html" . -}} {{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}} {{- template "_internal/schema.html" . -}}
<!-- {{- template "_internal/twitter_cards.html" . -}} -->
{{- partial "external/twitter_cards.html" . -}} {{- partial "external/twitter_cards.html" . -}}
{{ partial "citation.html" . }} {{ partial "citation.html" . }}