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",
"@type": "NewsArticle",
"headline": "{{ .Title }}",
"image": [
"{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
],
"image": [],
"datePublished": "{{ .Date.Format "2006-01-02" }}",
"author": [{
"@type": "Person",

View file

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

View file

@ -15,7 +15,6 @@
<meta name="twitter:image" content="{{ index . 0 | absURL }}">
{{ else -}}
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}">
{{- 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 */}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}}
<!-- {{- template "_internal/twitter_cards.html" . -}} -->
{{- partial "external/twitter_cards.html" . -}}
{{ partial "citation.html" . }}