From 84cb3367e6240fcb24777cc317cb6b30fecb7f4c Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 6 Sep 2018 15:40:05 -0400 Subject: [PATCH 1/1] add hugo-micro-json for showing last_updated at /micro.json --- .gitmodules | 3 +++ config.toml | 6 +++++- themes/hugo-micro-json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 themes/hugo-micro-json diff --git a/.gitmodules b/.gitmodules index e9d194a..c5210b1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "themes/hugo-search-fuse-js"] path = themes/hugo-search-fuse-js url = https://gitlab.com/kaushalmodi/hugo-search-fuse-js +[submodule "themes/hugo-micro-json"] + path = themes/hugo-micro-json + url = https://gitlab.com/kaushalmodi/hugo-micro-json diff --git a/config.toml b/config.toml index 2d5b974..4ce53c3 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,7 @@ baseurl = "https://aminb.org" title = "Amin Bandali" author = "Amin Bandali" -theme = "divine" +theme = ["hugo-micro-json", "divine"] enableEmoji = true enableGitInfo = true @@ -31,3 +31,7 @@ pygmentsUseClasses = true # This applies to Chroma too. url = "https://git.sr.ht/~aminb/aminb.org" md_dir = "content" org_dir = "content-org" + +[outputs] + # /micro.json + home = ["HTML", "RSS", "Micro"] # default = ["HTML", "RSS"] diff --git a/themes/hugo-micro-json b/themes/hugo-micro-json new file mode 160000 index 0000000..df12b01 --- /dev/null +++ b/themes/hugo-micro-json @@ -0,0 +1 @@ +Subproject commit df12b015321c752aeb52eb7c45fd49e5ae487f50 -- 2.20.1