From f9017d5921efa159a1c01aa82023b2a96b8a752a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 10 Sep 2024 07:42:56 -0400 Subject: [PATCH 1/7] forgejo-ci: use default actions --- .forgejo/workflows/cleanup.yaml | 2 +- .forgejo/workflows/deploy.yaml | 4 ++-- .forgejo/workflows/preview.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/cleanup.yaml b/.forgejo/workflows/cleanup.yaml index 084cf3d..69921a7 100644 --- a/.forgejo/workflows/cleanup.yaml +++ b/.forgejo/workflows/cleanup.yaml @@ -12,7 +12,7 @@ jobs: run: | apk add git nodejs jq coreutils curl tree gawk grep - name: Public repo pull - uses: https://github.com/actions/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.PAGES_TOKEN }} diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 929cde1..91fc4ff 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -14,11 +14,11 @@ jobs: run: | apk add git nodejs openssh-client-common openssh-client-default - name: Start ssh-agent - uses: https://github.com/webfactory/ssh-agent@v0.9.0 + uses: actions/ssh-agent@v0.9.0 with: ssh-private-key: ${{ secrets.PAGES_PRIVKEY }} - name: Repo pull - uses: https://github.com/actions/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Website upload diff --git a/.forgejo/workflows/preview.yaml b/.forgejo/workflows/preview.yaml index ca58fdd..3ad603e 100644 --- a/.forgejo/workflows/preview.yaml +++ b/.forgejo/workflows/preview.yaml @@ -13,12 +13,12 @@ jobs: apk add git ikiwiki po4a perl-yaml-tiny tree nodejs jq coreutils curl echo "GITHUB_PR_NAME=$(curl -Ls ${{ github.server_url }}/api/v1/repos/${{ github.repository }}/pulls/${{ github.ref_name }} | jq .title | tr ' ' '-' | tr -d ':' | tr -d '"' | tr '[:upper:]' '[:lower:]' | tr '/' '-')" >> $GITHUB_ENV - name: Repo pull - uses: https://github.com/actions/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 1 token: ${{ secrets.PAGES_TOKEN }} - name: Public repo pull - uses: https://github.com/actions/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: public From 5099dd8cbddaf821cc50893899b1dc62d9aaad5f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 8 Sep 2024 16:23:23 -0400 Subject: [PATCH 2/7] templates/*: Drop HTML5 conditions --- templates/page.tmpl | 18 ++++++------------ templates/searchform.tmpl | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/templates/page.tmpl b/templates/page.tmpl index 440538e..bf2f15f 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -35,12 +35,6 @@ - - - @@ -129,9 +123,9 @@ -
+
Download -
+
@@ -141,7 +135,7 @@ -
+
@@ -152,7 +146,7 @@
Comments on this page are closed.
-
+
@@ -223,7 +217,7 @@
- class="footer" role="contentinfo"> +
@@ -231,7 +225,7 @@
-
+ - -
- - - - - -
Comments on this page are closed.
-
-
-
-
- - - -
-

You can use your Mastodon account to reply to this post.

-

- - - -
-
- -