Skip to content
Snippets Groups Projects
Commit f39b1321 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Revert "Don't use .Site.Author (deprecated since Hugo v0.124.0)"

This reverts commit c49ccbce.
parent c49ccbce
No related branches found
No related tags found
1 merge request!675Revert "Use official Hugo docker image instead of the outdated klakegg/hugo"
...@@ -7,9 +7,11 @@ canonifyURLs = true ...@@ -7,9 +7,11 @@ canonifyURLs = true
languageCode = "en-us" languageCode = "en-us"
[Params] [Author]
name = "Apertis Project" name = "Apertis Project"
website = "https://www.apertis.org" website = "https://www.apertis.org"
[Params]
subtitle = "Collaborative OS platform for products" subtitle = "Collaborative OS platform for products"
logo = "logo-white.svg" logo = "logo-white.svg"
favicon = "favicon.ico" favicon = "favicon.ico"
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<p> <p>
{{ .Site.Params.name }} {{ .Site.Author.name }}
&nbsp;&bull;&nbsp; &nbsp;&bull;&nbsp;
{{ .Site.Lastmod.Format "2006" }} {{ .Site.Lastmod.Format "2006" }}
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<meta property="og:description" content="{{ . }}"> <meta property="og:description" content="{{ . }}">
<meta name="twitter:description" content="{{ . | truncate 200 }}"> <meta name="twitter:description" content="{{ . | truncate 200 }}">
{{- end }} {{- end }}
<meta name="author" content="{{ .Site.Params.name }}"/> <meta name="author" content="{{ .Site.Author.name }}"/>
{{- with .Site.Params.favicon }} {{- with .Site.Params.favicon }}
<link href='{{ . | absURL }}' rel='icon' type='image/x-icon'/> <link href='{{ . | absURL }}' rel='icon' type='image/x-icon'/>
{{- end -}} {{- end -}}
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<meta name="twitter:image" content="{{ . | absURL }}" /> <meta name="twitter:image" content="{{ . | absURL }}" />
{{- end }} {{- end }}
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
{{- with .Site.Params.twitter }} {{- with .Site.Author.twitter }}
<meta name="twitter:site" content="@{{ . }}" /> <meta name="twitter:site" content="@{{ . }}" />
<meta name="twitter:creator" content="@{{ . }}" /> <meta name="twitter:creator" content="@{{ . }}" />
{{- end }} {{- end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment