Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzilcH40 <wlh233@live.com>2022-09-12 08:24:41 +0300
committerzilcH40 <wlh233@live.com>2022-09-12 08:24:41 +0300
commite847bd01935099671d15224072fb8cea353255c2 (patch)
tree193be222c7b3770a5b97fd1504107f9d5f00f44f
parentf1ca3b22fd272b097eca2b7e5466d25126f1ee7a (diff)
feat #5: add margin & update README
-rw-r--r--README.md3
-rw-r--r--assets/css/common.scss1
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 063bfa3..de9120b 100644
--- a/README.md
+++ b/README.md
@@ -79,6 +79,9 @@ theme = "hulga"
# enable postcss, mainly for css purge (129kB->20kB->4.8kB gzipped, but this makes build slower)
postcss = true
+ # enable showing content summary below post title in home page, default false
+ showSummary = true
+
# enable toc on every post page
toc = true
diff --git a/assets/css/common.scss b/assets/css/common.scss
index 1eec40e..8c42822 100644
--- a/assets/css/common.scss
+++ b/assets/css/common.scss
@@ -133,6 +133,7 @@ body {
}
.post-box-summary {
margin-right: 1.25rem;
+ margin-bottom: 0.5rem;
opacity: 0.9;
}
.post-box-meta:last-child {