Merge branch 'master' of https://github.com/CaiJimmy/hugo-theme-stack into master
This commit is contained in:
commit
feff86a9b4
@ -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
|
||||||
@ -91,4 +91,4 @@ DefaultContentLanguage = "en" # Theme i18n support
|
|||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
noClasses = false
|
noClasses = false
|
||||||
|
@ -34,9 +34,9 @@
|
|||||||
<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 }}
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
@ -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",
|
||||||
@ -24,4 +24,4 @@ min_version = "0.74.0"
|
|||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Jimmy Cai"
|
name = "Jimmy Cai"
|
||||||
homepage = "https://jimmycai.com"
|
homepage = "https://jimmycai.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user