fix(forgejo): skip yaml frontmatter

- Update the forgejo configuration to skip the YAML frontmatter
  when rendering asciidoc files.
- Upgrade the base image from alpine:3.18 to alpine:3.19
This commit is contained in:
Dan Anglin 2024-02-06 00:52:29 +00:00
parent d90546427c
commit 116e1814d6
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# the official Dockerfile.rootless from https://github.com/go-gitea/gitea/
# syntax=docker/dockerfile:1
FROM alpine:3.18
FROM alpine:3.19
ENV FORGEJO_CUSTOM={{ .Forgejo.Custom }} \
FORGEJO_APP_INI={{ .Forgejo.AppIni }} \

View file

@ -133,7 +133,7 @@ ENABLED = true
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
RENDER_COMMAND = "asciidoctor -s -a showtitle --out-file=- -"
RENDER_COMMAND = "asciidoctor -s -a showtitle -a skip-front-matter --out-file=- -"
; Input is not a standard input but a file
IS_INPUT_FILE = false