This commit is contained in:
Jimmy Cai 2020-10-04 15:58:35 +02:00
commit feff86a9b4
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ DefaultContentLanguage = "en" # Theme i18n support
math = false math = false
[params.article.license] [params.article.license]
enabled = true enabled = true
default = "Licenced under CC BY-NC-SA 4.0" default = "Licensed under CC BY-NC-SA 4.0"
[params.comments] [params.comments]
enabled = true enabled = true
# Only Disqus is available so far # Only Disqus is available so far

View File

@ -34,7 +34,7 @@
<description> <description>
{{- $image := partial "helper/image" (dict "Context" . "Type" "rss") -}} {{- $image := partial "helper/image" (dict "Context" . "Type" "rss") -}}
{{- if $image.exists -}} {{- if $image.exists -}}
{{ "<" | html }}img src="{{ $image.permalink | absURL }}" width="{{ $image.resource.Width }}" height="{{ $image.resource.Height }}" alt="Featured image of post {{ .Title }}" {{ "/>" | html}} {{ "<" | html }}img src="{{ $image.permalink | absURL }}" alt="Featured image of post {{ .Title }}" {{ "/>" | html}}
{{- end -}}{{ $content }}</description> {{- end -}}{{ $content }}</description>
</item> </item>
{{ end }} {{ end }}

View File

@ -5,7 +5,7 @@ name = "Stack"
license = "GPL-3.0-only" license = "GPL-3.0-only"
licenselink = "https://github.com/CaiJimmy/hugo-theme-stack/blob/master/LICENSE" licenselink = "https://github.com/CaiJimmy/hugo-theme-stack/blob/master/LICENSE"
description = "Card-style Hugo theme designed for bloggers" description = "Card-style Hugo theme designed for bloggers"
homepage = "https://blog.jimmycai.com/p/hugo-theme-stack" homepage = "https://theme-stack.jimmycai.com"
tags = [ tags = [
"blog", "blog",
"responsive", "responsive",