From 9c7334cb65909991880433e43727117cabd9dbe5 Mon Sep 17 00:00:00 2001 From: mivinci <1366723936@qq.com> Date: Tue, 20 Jul 2021 17:53:21 +0800 Subject: [PATCH] some bug fixes --- layouts/index.html | 2 +- static/css/md.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index c99ca80..612a88a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@

{{ .Site.Params.iam }} {{ .Site.Author.name }}

{{ .Site.Author.slogon }}

-

{{ .Site.Author.description }}

+

{{ .Site.Author.description | markdownify | safeHTML }}

{{ if eq .Paginator.PageNumber 1 }}

Recent Posts

{{ else }} diff --git a/static/css/md.css b/static/css/md.css index b4a5ff6..bd338f1 100644 --- a/static/css/md.css +++ b/static/css/md.css @@ -13,6 +13,7 @@ display: block; max-width: 100%; width: 100%; + margin: 1em 0; overflow: auto; }