From 939747852ec67156bfb13b5fcb539d3ee85d7834 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Fri, 8 Mar 2024 09:04:06 +0000 Subject: [PATCH] Add summaries to the atom feeds --- .gitea/workflows/update.yaml | 15 --------------- src/feeds/atom.njk | 1 + 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .gitea/workflows/update.yaml diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml deleted file mode 100644 index a8e0f18..0000000 --- a/.gitea/workflows/update.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/src/feeds/atom.njk b/src/feeds/atom.njk index c4d9764..2b4031c 100644 --- a/src/feeds/atom.njk +++ b/src/feeds/atom.njk @@ -24,6 +24,7 @@ {{ post.date | dateToRfc3339 }} {{ absolutePostUrl }} {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} + {{ post.content | excerpt }} {%- endfor %} \ No newline at end of file