diff options
author | User Mms <mms@voyager.local> | 2024-11-03 09:49:56 +0100 |
---|---|---|
committer | User Mms <mms@voyager.local> | 2024-11-03 09:49:56 +0100 |
commit | 992f0b893dccc5aa71eb6846ecb5941811212458 (patch) | |
tree | 63e076c547d3d6505934f12db6b1464c68826794 /themes | |
parent | b190fec5cab7e6ca4b173df6b3fcc7b82cb5262b (diff) |
feat: end of os x
Diffstat (limited to 'themes')
-rw-r--r-- | themes/24-unification/layouts/_default/rss.xml | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/themes/24-unification/layouts/_default/rss.xml b/themes/24-unification/layouts/_default/rss.xml index 8df6fa9..ece24e6 100644 --- a/themes/24-unification/layouts/_default/rss.xml +++ b/themes/24-unification/layouts/_default/rss.xml @@ -1,34 +1,34 @@ -{{- /* Deprecate site.Author.email in favor of site.Params.author.email */}} -{{- $authorEmail := "" }} -{{- with site.Params.author }} - {{- if reflect.IsMap . }} - {{- with .email }} - {{- $authorEmail = . }} - {{- end }} - {{- end }} -{{- else }} - {{- with site.Author.email }} - {{- $authorEmail = . }} - {{- warnf "The author key in site configuration is deprecated. Use params.author.email instead." }} - {{- end }} -{{- end }} +<!-- {{- /* Deprecate site.Author.email in favor of site.Params.author.email */}} --> +<!-- {{- $authorEmail := "" }} --> +<!-- {{- with site.Params.author }} --> +<!-- {{- if reflect.IsMap . }} --> +<!-- {{- with .email }} --> +<!-- {{- $authorEmail = . }} --> +<!-- {{- end }} --> +<!-- {{- end }} --> +<!-- {{- else }} --> +<!-- {{- with site.Author.email }} --> +<!-- {{- $authorEmail = . }} --> +<!-- {{- warnf "The author key in site configuration is deprecated. Use params.author.email instead." }} --> +<!-- {{- end }} --> +<!-- {{- end }} --> -{{- /* Deprecate site.Author.name in favor of site.Params.author.name */}} -{{- $authorName := "" }} -{{- with site.Params.author }} - {{- if reflect.IsMap . }} - {{- with .name }} - {{- $authorName = . }} - {{- end }} - {{- else }} - {{- $authorName = . }} - {{- end }} -{{- else }} - {{- with site.Author.name }} - {{- $authorName = . }} - {{- warnf "The author key in site configuration is deprecated. Use params.author.name instead." }} - {{- end }} -{{- end }} +<!-- {{- /* Deprecate site.Author.name in favor of site.Params.author.name */}} --> +<!-- {{- $authorName := "" }} --> +<!-- {{- with site.Params.author.name }} --> +<!-- {{- if reflect.IsMap . }} --> +<!-- {{- with .name }} --> +<!-- {{- $authorName = . }} --> +<!-- {{- end }} --> +<!-- {{- else }} --> +<!-- {{- $authorName = . }} --> +<!-- {{- end }} --> +<!-- {{- else }} --> +<!-- {{- with site.Author.name }} --> +<!-- {{- $authorName = . }} --> +<!-- {{- warnf "The author key in site configuration is deprecated. Use params.author.name instead." }} --> +<!-- {{- end }} --> +<!-- {{- end }} --> {{- $pctx := . }} {{- if .IsHome }}{{ $pctx = .Site }}{{ end }} |