Merge branch 'main' of github.com:msfjarvis/hugo-social-metadata into src [deploy] [staging]
* 'main' of github.com:msfjarvis/hugo-social-metadata: layouts: add rel="canonical" link to each post hugo: mark theme as a module theme: update branch
This commit is contained in:
commit
c0879a685e
|
@ -0,0 +1,3 @@
|
|||
module github.com/msfjarvis/hugo-social-metadata
|
||||
|
||||
go 1.15
|
|
@ -36,4 +36,5 @@
|
|||
{{ else }}
|
||||
<meta property="og:image" content="{{ .Site.BaseURL}}{{ .Site.Params.SocialImage }}" key="ogimage" />
|
||||
{{ end }}
|
||||
<link rel="canonical" href="{{ .RelPermalink }}" />
|
||||
{{ end }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name = "Hugo Social Metadata"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/msfjarvis/hugo-social-metadata/blob/master/LICENSE"
|
||||
licenselink = "https://github.com/msfjarvis/hugo-social-metadata/blob/main/LICENSE"
|
||||
description = "Hugo theme component that automatically generates metadata for Twitter's cards and Facebook's Open Graph protocol"
|
||||
homepage = "http://example.com/"
|
||||
tags = ["component", "social metadata"]
|
||||
|
|
Loading…
Reference in New Issue