Compare commits

..

7 commits

Author SHA1 Message Date
dcefb64c09
templs/page.tmpl: add current language in switcher
All checks were successful
/ preview (pull_request) Successful in 35s
2024-09-10 16:16:24 -04:00
494edece61
templates/*: move to bootstrap 5 2024-09-10 16:16:21 -04:00
63e89e5969 templates/pages: trailing if statement
All checks were successful
/ render (push) Successful in 36s
2024-09-10 20:16:04 +00:00
9e9ce85503 templates/page: drop dynamic 2024-09-10 20:16:04 +00:00
d6577e535a templates/page: drop comments 2024-09-10 20:16:04 +00:00
5099dd8cbd templates/*: Drop HTML5 conditions 2024-09-10 20:16:04 +00:00
f9017d5921
forgejo-ci: use default actions
All checks were successful
/ render (push) Successful in 40s
2024-09-10 07:44:49 -04:00
4 changed files with 6 additions and 5 deletions

View file

@ -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 }}

View file

@ -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

View file

@ -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

View file

@ -59,6 +59,7 @@
<div class="dropdown">
<button class="btn language-switcher dropdown-toggle" type="button" id="language-menu-top" data-bs-toggle="dropdown" aria-expanded="false">
<img src="<TMPL_VAR BASEURL>wikiicons/languages.png">
<TMPL_VAR LANG_NAME>
</button>
<ul class="dropdown-menu" aria-labelledby="language-menu-top">
<TMPL_LOOP OTHERLANGUAGES>