Skip to content

kaushalmodi/hugo-micro-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ~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:
    [module]
      [[module.imports]]
        path = "github.com/kaushalmodi/hugo-micro-json"
        
  2. Add “Micro” to all the “list” Page Kinds for which you want to create micro.json feeds:
    [outputs]
      # <domain>/micro.json
      home = ["HTML", "RSS", "Micro"]     # default = ["HTML", "RSS"]