This module attempts to replace internal templates used by Hugo with custom ones and other modules and plugins that add identical features more sophisticated or up-to-date. Internal templates of Hugo are highly opiniated, often out of time and not suitable for use in the production environment of a website. The layouts in this repo and it’s modules replace them with our own better setup.
|Add this module|
[[module.imports]] path = "github.com/davidsneighbour/hugo-internals" disable = false ignoreConfig = false ignoreImports = false
hugo-robots — Creating a robots.txt
This component uses hugo-robots to create a robots.txt without much configuration. The only step to take is that robots.txt generation needs to be enabled in your configuration, eg. config.toml:
Read more about detailed setup options at the documentation.