vim-jp / ekiden

vim-jp記事執筆企画「駅伝」の管理リポジトリ
https://vim-jp.org/ekiden/
Creative Commons Attribution 4.0 International
49 stars 19 forks source link

Fix rss link #441

Closed tani closed 1 month ago

tani commented 1 month ago

This pull request updates URL as follows.

Actual: /ekidenrss.xml Expected: /ekiden/rss.xml

thinca commented 1 month ago

https://github.com/vim-jp/ekiden/blob/12e6f35aedb6111552ce20dd47de8a1f70dfec34/src/layouts/Base.astro#L12 この辺りのコメントも整合性が取れるように直した方がいいかもしれないですね。 (この直下で baseURL を使っている箇所では末尾 / なしで動く感じで書かれているので当初なんでこんなコードになったのかがちょっとわからない…)

staticWagomU commented 1 month ago

このあたりに振り回されないように、trailingslashを設定しておいたほうがいいかもですね。

https://docs.astro.build/en/reference/configuration-reference/#trailingslash

tani commented 1 month ago

@staticWagomU @thinca さん、ご指摘ありがとうございます。 上記で指摘されていたオプションの問題だったようです。 手元では、変更を revert して オプションを有効化したとき、期待通りの動作になりました。 おそらく、どこかで設定値の変更があったようですね。