From ce0dd9c18959f196baed0298822add5386a2a4b0 Mon Sep 17 00:00:00 2001 From: pxq <1456889284@qq.com> Date: Sun, 4 Feb 2024 15:19:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20md=E6=B8=B2=E6=9F=93=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E7=AC=A6=E5=8F=B7(--)=E7=9A=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.toml b/config.toml index d02e572cf..fb96d3d4e 100644 --- a/config.toml +++ b/config.toml @@ -17,6 +17,9 @@ buildFuture = true [markup.goldmark] [markup.goldmark.renderer] unsafe = true + [markup.goldmark.extensions] + [markup.goldmark.extensions.typographer] + enDash = '--' # Define the number of posts per page paginate = 10 -- Gitee From 047e81c79a7ae710c59155e43aff9abb964d9167 Mon Sep 17 00:00:00 2001 From: pxq <1456889284@qq.com> Date: Sat, 17 Feb 2024 09:54:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20hugo=E7=89=88=E6=9C=AC=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=B8=BAv0.121.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- config.toml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5e90a182..fb31df179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM swr.cn-north-4.myhuaweicloud.com/opensourceway/openeuler/nginx-hugo:1.24.0-22.03-lts-sp1-0.104.3 +FROM swr.cn-north-4.myhuaweicloud.com/opensourceway/openeuler/nginx-hugo:1.24.0-22.03-lts-sp1-0.121.1 RUN git config --global http.postBuffer 1048576000 && \ git config --global https.postBuffer 1048576000 diff --git a/config.toml b/config.toml index fb96d3d4e..10aebb4f8 100644 --- a/config.toml +++ b/config.toml @@ -15,8 +15,6 @@ uglyURLs = true buildFuture = true [markup] [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true [markup.goldmark.extensions] [markup.goldmark.extensions.typographer] enDash = '--' -- Gitee