Browse Source

minor update

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

+ 1
- 0
exampleSite/config.toml View File

baseURL = "https://calcomp.netlify.app/" baseURL = "https://calcomp.netlify.app/"
canonifyURLs = "true" canonifyURLs = "true"
staticURL="https://calcomp.netlify.app"
disableLanguages = ["Fr"] disableLanguages = ["Fr"]
disqusShortname = "" disqusShortname = ""
paginate = "6" paginate = "6"

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

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


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

Loading…
Cancel
Save