From 125a5696976f1260db3b01eed62dbd2b884f00af Mon Sep 17 00:00:00 2001 From: Mivinci <1366723936@qq.com> Date: Fri, 29 Oct 2021 00:01:17 +0800 Subject: [PATCH] feature: hidding date in the home page --- exampleSite/config.toml | 4 +++- layouts/partials/list.html | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 29f96f5..cf12701 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -16,7 +16,7 @@ theme = "hugo-theme-minima" [author] name = "XJJ" slogon = "A student and web developer from Earth 🌍" -description = "This is Minima, a clean and minimal Hugo theme porting from Minima on Hexo. It not only inherits everything from Hexo Minima like dark/light mode but intgrated KaTeX and some taxonomies like categories, series and tags. I created this from scratch using SCSS and Vanilla JS without unnecessary development packs! 😁" +description = "This is Minima, a clean and minimal Hugo theme porting from Minima on Hexo. Except for everything from Hexo Minima like dark/light mode, it supports KaTeX and some taxonomies like categories, series and tags. I created this using SCSS, Vanilla JS and most importantly, Hugo. 😁" [params] @@ -32,6 +32,8 @@ comment = "disqus" timeformat = "Jan 2, 2006" # switch for turning on/off lights. switch = ["🌚", "🌝"] +# if true, date of posts will be displayed in the homepage +displayDate = true # OvO is a comment plugin written by the author of Minima. diff --git a/layouts/partials/list.html b/layouts/partials/list.html index a915265..f6c98fa 100644 --- a/layouts/partials/list.html +++ b/layouts/partials/list.html @@ -1,4 +1,6 @@