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:
parent
d90546427c
commit
116e1814d6
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# the official Dockerfile.rootless from https://github.com/go-gitea/gitea/
|
# the official Dockerfile.rootless from https://github.com/go-gitea/gitea/
|
||||||
|
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM alpine:3.18
|
FROM alpine:3.19
|
||||||
|
|
||||||
ENV FORGEJO_CUSTOM={{ .Forgejo.Custom }} \
|
ENV FORGEJO_CUSTOM={{ .Forgejo.Custom }} \
|
||||||
FORGEJO_APP_INI={{ .Forgejo.AppIni }} \
|
FORGEJO_APP_INI={{ .Forgejo.AppIni }} \
|
||||||
|
|
|
@ -133,7 +133,7 @@ ENABLED = true
|
||||||
[markup.asciidoc]
|
[markup.asciidoc]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
FILE_EXTENSIONS = .adoc,.asciidoc
|
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
|
; Input is not a standard input but a file
|
||||||
IS_INPUT_FILE = false
|
IS_INPUT_FILE = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue