From 4cf3d47c346318552ac9f9fc0a1963ca5c06eb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=87=95=E9=B9=8F?= Date: Thu, 30 Sep 2021 09:10:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=BF=E6=8D=A2layer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/app.conf | 2 +- views/ublogs.html | 74 +++++++++++++++++++++++++++-------------------- 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/conf/app.conf b/conf/app.conf index 3667cfd..c4a55ec 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -1,6 +1,6 @@ appname = beeblog -runmode = "dev" +runmode = "prod" sessionon = true sessiongcmaxlifetime = 36000 diff --git a/views/ublogs.html b/views/ublogs.html index e5cd0d4..5f1c48e 100644 --- a/views/ublogs.html +++ b/views/ublogs.html @@ -3,9 +3,8 @@
-{{template "nav" .}} -{{template "memenu" .}} - + {{template "nav" .}} + {{template "memenu" .}}
- {{range .Page.List}} + {{range .Page.List}}

{{.Title}}

@@ -24,28 +23,29 @@ 浏览量:{{.Browses}} 删除 - 编辑 + 编辑

- {{end}} + {{end}}
@@ -56,28 +56,38 @@
\ No newline at end of file