Add summaries to the atom feeds
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m40s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m40s
This commit is contained in:
parent
8d8924a478
commit
939747852e
@ -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
|
|
@ -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>
|
Loading…
Reference in New Issue
Block a user