Skip to content

Commit

Permalink
Merge pull request #377 from debuginn/dev
Browse files Browse the repository at this point in the history
feat add WeChat image to RSS feed description
  • Loading branch information
debuginn authored Jan 22, 2025
2 parents 448fb6e + ee76db7 commit 7337918
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layouts/_default/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
{{- $image := partial "helper/image" (dict "Context" . "Type" "rss") -}}
{{- if $image.exists -}}
{{ "<" | html }}img src="{{ $image.permalink | absURL }}" alt="Featured image of post {{ .Title }}" {{ "/>" | html}}
{{- end -}}{{ $content }}</description>
{{- end -}}
{{ $content }}
<p><img src="https://static.debuginn.com/20241104WLOJ4H.jpg" alt="wechat" /></p>
</description>
</item>
{{ end }}
</channel>
Expand Down

0 comments on commit 7337918

Please sign in to comment.