add hugo-micro-json for showing last_updated at /micro.json
authorAmin Bandali <amin@gnu.org>
Thu, 6 Sep 2018 19:40:05 +0000 (15:40 -0400)
committerAmin Bandali <amin@gnu.org>
Thu, 6 Sep 2018 19:40:05 +0000 (15:40 -0400)
.gitmodules
config.toml
themes/hugo-micro-json [new submodule]

index e9d194a..c5210b1 100644 (file)
@@ -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-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
index 2d5b974..4ce53c3 100644 (file)
@@ -1,7 +1,7 @@
 baseurl = "https://aminb.org"
 title = "Amin Bandali"
 author = "Amin Bandali"
 baseurl = "https://aminb.org"
 title = "Amin Bandali"
 author = "Amin Bandali"
-theme = "divine"
+theme = ["hugo-micro-json", "divine"]
 
 enableEmoji = true
 enableGitInfo = true
 
 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"
     url = "https://git.sr.ht/~aminb/aminb.org"
     md_dir = "content"
     org_dir = "content-org"
+
+[outputs]
+  # <domain>/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 (submodule)
index 0000000..df12b01
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit df12b015321c752aeb52eb7c45fd49e5ae487f50