mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-07-30 21:52:07 +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",
|
||||
"@type": "NewsArticle",
|
||||
"headline": "{{ .Title }}",
|
||||
"image": [
|
||||
"{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"
|
||||
],
|
||||
"image": [],
|
||||
"datePublished": "{{ .Date.Format "2006-01-02" }}",
|
||||
"author": [{
|
||||
"@type": "Person",
|
||||
|
|
|
@ -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",
|
||||
|
|
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 }}">
|
||||
{{ else -}}
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:image" content="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}">
|
||||
{{- 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 */}}
|
||||
{{- template "_internal/opengraph.html" . -}}
|
||||
{{- template "_internal/schema.html" . -}}
|
||||
<!-- {{- template "_internal/twitter_cards.html" . -}} -->
|
||||
{{- partial "external/twitter_cards.html" . -}}
|
||||
|
||||
{{ partial "citation.html" . }}
|
||||
|
|
Loading…
Add table
Reference in a new issue