mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-07-31 14:12:01 +00:00
Removed avatar as blog post photo
This commit is contained in:
parent
864dce1ff9
commit
bd7e11b421
4 changed files with 2 additions and 8 deletions
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
1
layouts/partials/external/twitter_cards.html
vendored
1
layouts/partials/external/twitter_cards.html
vendored
|
@ -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 }}
|
||||||
|
|
|
@ -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" . }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue