A minimal blog theme for Hugo
Codex is a minimal blog theme built for Hugo. It includes features such as an about page, a blog with tagged posts, support for mathematical notations using KaTex, Sass/SCSS for styling, support for Google Analytics and Disqus, and i18n support. The theme requires Hugo version 82 and above.
To install Codex, follow these steps:
Ensure that you have the Hugo extended version installed.
Note: Codex only supports Hugo version 82 and above.
At the root of your Hugo project, run the following command:
command
Copy the contents of the exampleSite/config.toml file to your site’s config.toml file. Make sure to read all the comments, as there may be some nuances specific to Hugo themes that require modifications in the config.toml file.
The most important change to make in the config.toml file is to remove a specific line, which exists only in the example site for proper demo functioning.
Finally, run the following command:
command
Note: If you encounter a blank page, it is likely because there is no content in your content/ directory. Continue reading for instructions on how to fix this.
Codex is a minimal blog theme designed for Hugo, providing a clean and minimalistic design for blogs. It offers features such as an about page, tagged blog posts, support for mathematical notations, Sass/SCSS styling, Google Analytics and Disqus integration, and i18n support. To install the theme, ensure you have the appropriate Hugo version, copy the configuration file, and follow the setup instructions.