@@ -1,6 +1,5 @@ | |||
baseURL = "https://calcomp.netlify.app/" | |||
canonifyURLs = "true" | |||
staticAddress="https://calcomp.netlify.app" | |||
disableLanguages = ["Fr"] | |||
disqusShortname = "" | |||
paginate = "6" | |||
@@ -53,6 +52,7 @@ url = "contact" | |||
weight = "6" | |||
[params] | |||
author = "" | |||
staticAddress="https://calcomp.netlify.app" | |||
description = "A platform for scholars of Humanities and Social Sciences. And of course Comparative Literature. " | |||
google_analytics_id = "" | |||
logo = "images/logo.jpg" |
@@ -10,7 +10,7 @@ | |||
<meta name="author" content="{{ . }}">{{ end }} | |||
{{ hugo.Generator }} | |||
{{ $url := .StaticAddress }} | |||
{{ $url := site.Params.staticAddress }} | |||
{{ template "_internal/opengraph.html" . }} | |||
<meta name="og:image" content="{{ with .Params.image }}{{$url}}{{ . | absURL }}{{ else }}{{$url}}{{ `images/Cover.jpg` | absURL}}{{end}}"> | |||
{{ template "_internal/twitter_cards.html" . }} |