make RSS pass

This commit is contained in:
Cadey Ratio 2020-10-25 16:14:22 -04:00
parent 514220f079
commit 299a4f7ce9
3 changed files with 20 additions and 2 deletions

View File

@ -23,3 +23,13 @@ jobs:
PATREON_CLIENT_ID: ${{ secrets.PATREON_CLIENT_ID }}
PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}
PATREON_REFRESH_TOKEN: ${{ secrets.PATREON_REFRESH_TOKEN }}
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Releases via Palisade
run: |
docker run --rm --name palisade -v $(pwd):/workspace -e GITHUB_TOKEN -e GITHUB_REF -e GITHUB_REPOSITORY --workdir /workspace ghcr.io/xe/palisade palisade github-action
env:
GITHUB_TOKEN: ${{ secrets.CR_PAT }}

View File

@ -5,3 +5,11 @@ New site features will be documented here.
## 2.1.0
- Blogpost bodies are now present in the RSS feed
## 2.0.1
Custom render RSS/Atom feeds
## 2.0.0
Complete site rewrite in Rust

View File

@ -11,11 +11,11 @@
<generator>@APP https://github.com/Xe/site</generator>
@for post in posts {
<item>
<guid>https://christine.website/@post.link</guid>
<title>@post.front_matter.title</title>
<link>https://christine.website/@post.link</link>
<description></description>
<description><![CDATA[@Html(post.body_html)]]></description>
<pubDate>@post.date.to_rfc2822()</pubDate>
<content:encoded><![CDATA[ @Html(post.body_html) ]]></content:encoded>
</item>
}