From: Amin Bandali Date: Thu, 6 Sep 2018 19:40:05 +0000 (-0400) Subject: add hugo-micro-json for showing last_updated at /micro.json X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/84cb3367e6240fcb24777cc317cb6b30fecb7f4c?ds=inline;pf=~bandali add hugo-micro-json for showing last_updated at /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