diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml new file mode 100644 index 00000000000..3b362bfc815 --- /dev/null +++ b/.github/workflows/build-docker.yml @@ -0,0 +1,35 @@ +name: ci + +on: + push: + branches: + - main + +jobs: + docker: + runs-on: ubuntu-latest + steps: + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + file: ./packaging/docker/alpine/Dockerfile + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:${{ github.ref_name }} \ No newline at end of file diff --git a/internal/template/templates/common/layout.html b/internal/template/templates/common/layout.html index ca3529c035f..3e843234ca3 100644 --- a/internal/template/templates/common/layout.html +++ b/internal/template/templates/common/layout.html @@ -1,6 +1,7 @@ {{ define "base" }} - + + {{template "title" .}} - Miniflux @@ -11,114 +12,122 @@ - - + + - + - - - - - - - - + + + + + + + + - {{ $cspNonce := nonce }} - {{ csp .user $cspNonce | safeHTML }} - - + + {{ if .user -}} - {{ if .user.Stylesheet -}} - - {{ end -}} - {{ if .user.CustomJS -}} - - {{ end -}} + {{ if .user.Stylesheet -}} + + {{ end -}} + {{ if .user.CustomJS -}} + + {{ end -}} {{ end -}} - + + {{ if .user }} {{ t "skip_to_content" }}
{{ end }} {{ if .flashMessage }} - + {{ end }} {{ if .flashErrorMessage }} - + {{ end }} {{template "page_header" .}} @@ -146,8 +155,10 @@

{{ t "page.keyboard_shortcuts.title" }}

{{ t "page.keyboard_shortcuts.subtitle.items" }}