Add summaries to the atom feeds
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m40s

This commit is contained in:
Lewis Dale 2024-03-08 09:04:06 +00:00
parent 8d8924a478
commit 939747852e
2 changed files with 1 additions and 15 deletions

View File

@ -1,15 +0,0 @@
name: Build on push
on:
schedule:
- cron: '@weekly'
jobs:
build-webhook:
runs-on: ubuntu-latest
steps:
- name: Call the webhook
uses: distributhor/workflow-webhook@v3
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_KEY }}
verbose: true

View File

@ -24,6 +24,7 @@
<updated>{{ post.date | dateToRfc3339 }}</updated> <updated>{{ post.date | dateToRfc3339 }}</updated>
<id>{{ absolutePostUrl }}</id> <id>{{ absolutePostUrl }}</id>
<content xml:lang="{{ metadata.site.language }}" type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content> <content xml:lang="{{ metadata.site.language }}" type="html">{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
<summary>{{ post.content | excerpt }}</summary>
</entry> </entry>
{%- endfor %} {%- endfor %}
</feed> </feed>