Compare commits
No commits in common. "c133c99d73c70deaf341ddd19906bfa5c250d49c" and "3a5f880d09ac95039db09213056e502ebbddce4e" have entirely different histories.
c133c99d73
...
3a5f880d09
5 changed files with 20 additions and 48 deletions
|
@ -5,16 +5,14 @@ title = "L'Étoile de Bethléem"
|
||||||
|
|
||||||
summaryLength = 22
|
summaryLength = 22
|
||||||
assetDir = "assets"
|
assetDir = "assets"
|
||||||
|
|
||||||
minifyOutput = false
|
minifyOutput = false
|
||||||
enableGitInfo = true
|
|
||||||
|
|
||||||
[sitemap]
|
[sitemap]
|
||||||
changefreq = 'weekly'
|
changefreq = 'weekly'
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
dateFmt = "02.01.2006 15:04"
|
dateFmt = "02.01.2006 15:04"
|
||||||
ISO8601 = "2006-01-02T15:04:05-07:00"
|
|
||||||
|
|
||||||
[params.contact]
|
[params.contact]
|
||||||
peertube = "https://peertube.iriseden.eu/c/etoiledebethleem/videos"
|
peertube = "https://peertube.iriseden.eu/c/etoiledebethleem/videos"
|
||||||
email = "contact@etoiledebethleem.fr"
|
email = "contact@etoiledebethleem.fr"
|
||||||
|
@ -22,7 +20,6 @@ ISO8601 = "2006-01-02T15:04:05-07:00"
|
||||||
helloasso = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/"
|
helloasso = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/"
|
||||||
helloasso_adhesion = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/adhesions/2023-2024"
|
helloasso_adhesion = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/adhesions/2023-2024"
|
||||||
paper_adhesion = "https://static.etoiledebethleem.fr/docs/adhesion_papier_2023-2024_v3.pdf"
|
paper_adhesion = "https://static.etoiledebethleem.fr/docs/adhesion_papier_2023-2024_v3.pdf"
|
||||||
|
|
||||||
[params.socials]
|
[params.socials]
|
||||||
facebook = "https://www.facebook.com/groups/bethleemaubevoye"
|
facebook = "https://www.facebook.com/groups/bethleemaubevoye"
|
||||||
instagram = "https://www.instagram.com/etoiledebethleem/"
|
instagram = "https://www.instagram.com/etoiledebethleem/"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="cover__back" style="background-image: url('{{ .RelPermalink }}')">
|
<div class="cover__back" style="background-image: url('{{ .RelPermalink }}')">
|
||||||
<!-- For now we are not going to show a video -->
|
<!-- For now we are not going to show a video -->
|
||||||
<!-- <video playsinline autoplay muted loop> -->
|
<!-- <video playsinline autoplay muted loop> -->
|
||||||
<!-- <source src="https://static.etoiledebethleem.fr/videos/teaser/md.mp4" type="video/webm"> -->
|
<!-- <source src="https://static.etoiledebethleem.fr/videos/teaser_v5.mp4" type="video/webm"> -->
|
||||||
<!-- </video> -->
|
<!-- </video> -->
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -13,12 +13,11 @@
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
{{ partial "metas/opengraph.html" . }}
|
{{ partial "opengraph/include.html" . }}
|
||||||
{{- partial "metas/json-ld.html" . -}}
|
|
||||||
|
|
||||||
{{- range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats }}
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
||||||
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png">
|
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png">
|
||||||
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png">
|
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png">
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
{{ if .IsPage }}
|
|
||||||
{{ if eq .Section "actualites" }}
|
|
||||||
<script type="application/ld+json">
|
|
||||||
{
|
|
||||||
"@context" : "http://schema.org",
|
|
||||||
"@type" : "BlogPosting",
|
|
||||||
"articleSection" : "{{ .Section | title }}",
|
|
||||||
"name" : "{{ .Title }}",
|
|
||||||
"headline" : "{{ .Title }}",
|
|
||||||
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
|
||||||
"inLanguage" : "fr-FR",
|
|
||||||
"author" : "{{ .Params.author }}",
|
|
||||||
"creator" : "Étoile de Bethléem",
|
|
||||||
"accountablePerson" : "Étoile de Bethléem",
|
|
||||||
"datePublished": "{{ .PublishDate.Format $.Site.Params.ISO8601 }}",
|
|
||||||
"dateModified" : "{{ .Lastmod.Format $.Site.Params.ISO8601 }}",
|
|
||||||
"url" : "{{ .Permalink }}",
|
|
||||||
"wordCount" : "{{ .WordCount }}",
|
|
||||||
"keywords" : [ {{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }} ]
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<meta property="og:title" content="{{ $title }}">
|
<meta property="og:title" content="{{ $title }}">
|
||||||
<meta property="og:description" content="{{ $description }}">
|
<meta property="og:description" content="{{ $description }}">
|
||||||
<meta property="og:url" content="{{ .Permalink | absURL }}">
|
<meta property="og:url" content="{{ .Permalink }}">
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}">
|
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||||
<meta property="og:type" content="
|
<meta property="og:type" content="
|
||||||
{{- if .IsPage -}}
|
{{- if .IsPage -}}
|
||||||
|
@ -17,28 +17,28 @@
|
||||||
|
|
||||||
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
|
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
|
||||||
|
|
||||||
{{- if .IsPage -}}
|
{{ if .IsPage }}
|
||||||
<meta property="article:section" content="{{ .Section | title }}" />
|
<meta property="article:section" content="{{ .Section | title }}" />
|
||||||
{{- range .Params.tags -}}
|
{{- range .Params.tags -}}
|
||||||
<meta property="article:tag" content="{{ . }}" />
|
<meta property="article:tag" content="{{ . }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
||||||
{{- if .IsPage -}}
|
{{ if .IsPage }}
|
||||||
{{- if not .Date.IsZero -}}
|
{{- if not .Date.IsZero -}}
|
||||||
<meta property="article:published_time" content="{{- .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
<meta property="article:published_time" content="{{- .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if not .Lastmod.IsZero -}}
|
{{- if not .Lastmod.IsZero -}}
|
||||||
<meta property="article:modified_time" content="{{- .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
<meta property="article:modified_time" content="{{- .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else -}}
|
{{ else }}
|
||||||
{{ if not .Site.Lastmod.IsZero }}
|
{{ if not .Site.LastChange.IsZero }}
|
||||||
<meta property="og:updated_time" content="{{- .Site.Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
<meta property="og:updated_time" content="{{- .Site.LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML -}}" />
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ $image := partial "helpers/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|
{{ $image := partial "helpers/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|
||||||
{{ if $image.exists }}
|
{{ if $image.exists }}
|
||||||
<meta property="og:image" content="{{ $image.permalink | absURL }}" />
|
<meta property="og:image" content="{{ $image.permalink }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in a new issue