Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:18-alpine AS build
FROM node:26-alpine AS build
ARG GITHUB_USERNAME_TOKEN
WORKDIR /build-website
ADD https://github.com/gohugoio/hugo/releases/download/v0.161.1/hugo_0.161.1_Linux-64bit.tar.gz hugo.tar.gz
RUN echo "fae28bf7909c1a42d1365b89d2e9e3d4194fbe5968ae0dd5504f562381018a1d hugo.tar.gz" | sha256sum -c
ADD https://github.com/gohugoio/hugo/releases/download/v0.162.1/hugo_0.162.1_Linux-64bit.tar.gz hugo.tar.gz
RUN echo "4bfcdb092d0306586f1b72e5687787ead053faab2d71f09951d3c5fecde66873 hugo.tar.gz" | sha256sum -c
RUN tar -zxvf hugo.tar.gz
COPY package-lock.json package.json ./
RUN npm ci
Expand Down
5 changes: 5 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ baseUrl = "https://build.cfengine.com"
[markup.highlight]
noClasses = false

# Hugo 0.162+ blocks text/html content files by default
# so explicitly allow the content media types we use
[security]
allowContent = ['^text/(html|markdown|org)$']

[params.gitProviders.repositoryLinkTemplates]
"github.com" = "%s/tree/%s/%s"
"gitlab.com" = "%s/-/tree/%s/%s"
Expand Down
Loading
Loading