Browse Source

minor update

pull/141/head
abhidj0090 4 years ago
parent
commit
6af020b6a0
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      exampleSite/config.toml
  2. 1
    1
      layouts/partials/head.html

+ 1
- 1
exampleSite/config.toml View File

@@ -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"

+ 1
- 1
layouts/partials/head.html View File

@@ -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" . }}

Loading…
Cancel
Save