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

baseURL = "https://calcomp.netlify.app/" baseURL = "https://calcomp.netlify.app/"
canonifyURLs = "true" canonifyURLs = "true"
staticAddress="https://calcomp.netlify.app"
disableLanguages = ["Fr"] disableLanguages = ["Fr"]
disqusShortname = "" disqusShortname = ""
paginate = "6" paginate = "6"
weight = "6" weight = "6"
[params] [params]
author = "" author = ""
staticAddress="https://calcomp.netlify.app"
description = "A platform for scholars of Humanities and Social Sciences. And of course Comparative Literature. " description = "A platform for scholars of Humanities and Social Sciences. And of course Comparative Literature. "
google_analytics_id = "" google_analytics_id = ""
logo = "images/logo.jpg" logo = "images/logo.jpg"

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

<meta name="author" content="{{ . }}">{{ end }} <meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }} {{ hugo.Generator }}


{{ $url := .StaticAddress }}
{{ $url := site.Params.staticAddress }}
{{ template "_internal/opengraph.html" . }} {{ template "_internal/opengraph.html" . }}
<meta name="og:image" content="{{ with .Params.image }}{{$url}}{{ . | absURL }}{{ else }}{{$url}}{{ `images/Cover.jpg` | absURL}}{{end}}"> <meta name="og:image" content="{{ with .Params.image }}{{$url}}{{ . | absURL }}{{ else }}{{$url}}{{ `images/Cover.jpg` | absURL}}{{end}}">
{{ template "_internal/twitter_cards.html" . }} {{ template "_internal/twitter_cards.html" . }}

Loading…
Cancel
Save