Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaushalmodi/hugo-micro-json
Hugo theme component for a custom JSON Output Format
https://github.com/kaushalmodi/hugo-micro-json
custom-output-format hugo hugo-theme-component json last-modified
Last synced: about 1 month ago
JSON representation
Hugo theme component for a custom JSON Output Format
- Host: GitHub
- URL: https://github.com/kaushalmodi/hugo-micro-json
- Owner: kaushalmodi
- License: gpl-3.0
- Created: 2018-09-06T19:04:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-24T13:33:36.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T22:29:47.525Z (2 months ago)
- Topics: custom-output-format, hugo, hugo-theme-component, json, last-modified
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
*This is not a standalone theme. This is a Hugo theme component.*
This component enables micro.json feeds for your site.
* Requirements
You need to install the latest version of Go from
https://go.dev/doc/install because this theme component requires [[https://gohugo.io/hugo-modules/use-modules/][~hugo
mod ..~ commands]] to work.This update on switch to using Hugo Modules was last tested with Hugo
v0.92.0.
* Installing
1. Add this component as a new module to your site's TOML config file:
#+begin_src conf-toml
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-micro-json"
#+end_src
2. Add "Micro" to all the "list" Page Kinds for which you want to
create micro.json feeds:
#+begin_src conf-toml
[outputs]
# /micro.json
home = ["HTML", "RSS", "Micro"] # default = ["HTML", "RSS"]
#+end_src