jiro4989 / jiro4989.github.io

技術ブログのような何か
https://jiro4989.github.io
1 stars 0 forks source link

fix: RSS Feed のファイルが壊れるのを修正 #15

Closed jiro4989 closed 1 year ago

jiro4989 commented 1 year ago

無理くり _config.yml にHTMLを埋め込むと RSS Feed の XML の方がこんな感じになってしまう。 title, description に HTML タグが埋め込まれてしまう。 流石にこれは奇妙なので、素直に元の layout html ファイルを修正することにした。

<generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator>
<link href="https://jiro4989.github.io/feed.xml" rel="self" type="application/atom+xml"/>
<link href="https://jiro4989.github.io/" rel="alternate" type="text/html" hreflang="ja-JP"/>
<updated>2023-10-25T16:41:05+00:00</updated>
<id>https://jiro4989.github.io/feed.xml</id>
<title type="html"><a href="https://jiro4989.github.io/" style="color:white">次郎の貝塚</a></title>
<subtitle>技術ブログのような何か | <a href="/feed.xml" target="_blank">RSS</a></subtitle>

14