Spaces:
Sleeping
Sleeping
Update app/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html
Browse files
app/themes/hugo-theme-stack/layouts/partials/head/opengraph/provider/base.html
CHANGED
|
@@ -32,10 +32,6 @@
|
|
| 32 |
<meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/>
|
| 33 |
{{- end -}}
|
| 34 |
{{- else -}}
|
| 35 |
-
<!-- {{- if not .Site.Lastmod.IsZero -}}
|
| 36 |
-
<meta property='og:updated_time' content='{{ .Site.Lastmod.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
|
| 37 |
-
{{- end -}} -->
|
| 38 |
-
|
| 39 |
{{- $lastmod := now -}}
|
| 40 |
{{- with .Site.RegularPages -}}
|
| 41 |
{{- range . -}}
|
|
@@ -51,8 +47,6 @@
|
|
| 51 |
{{- else -}}
|
| 52 |
<meta property='og:updated_time' content='2000-01-01T00:00:00+00:00'/>
|
| 53 |
{{- end -}}
|
| 54 |
-
|
| 55 |
-
|
| 56 |
{{- end -}}
|
| 57 |
|
| 58 |
{{ $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|
|
|
|
| 32 |
<meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/>
|
| 33 |
{{- end -}}
|
| 34 |
{{- else -}}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
{{- $lastmod := now -}}
|
| 36 |
{{- with .Site.RegularPages -}}
|
| 37 |
{{- range . -}}
|
|
|
|
| 47 |
{{- else -}}
|
| 48 |
<meta property='og:updated_time' content='2000-01-01T00:00:00+00:00'/>
|
| 49 |
{{- end -}}
|
|
|
|
|
|
|
| 50 |
{{- end -}}
|
| 51 |
|
| 52 |
{{ $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|