Responsive Hugo blog theme (note: not actively worked on)
Cocoa is a consistent and responsive Hugo theme that offers clean typography. It is designed for blogging and personal webpages, and provides various features such as support for Disqus comments, a built-in 404 page, syntax highlighting with highlightjs, Gravatar/static profile image, RSS feed and icon, optimized SVG icons for social media platforms, cache busting, and support for Google Analytics, Piwik, and Gitalk. The theme is highly customizable, allowing users to enable or disable different features according to their preference. Cocoa is licensed under the MIT License and is open to contributions from the open-source community.
To install the Cocoa theme for your Hugo site, follow these steps:
Clone the theme into the themes/cocoa directory from the root of your Hugo site:
git clone [theme repository URL] themes/cocoa
Configure the theme by modifying the sample config.toml file. If you are updating from an older version of Cocoa and have updated to Hugo 0.18, make sure to lowercase every params in your existing config.toml to match the sample.
Create new blog posts by adding them under the directory content/blog. To have the posts appear on your site, ensure that the draft field in the post’s front matter is set to false, or alternatively, use the –buildDrafts option when building.
For fixed pages like an About page, place them under the content/fixed directory or at the root of the content directory.
Cocoa is a responsive and customizable Hugo theme suitable for bloggers and personal webpages. It offers various features such as Disqus comments, syntax highlighting, built-in 404 page, social media icons, and analytics support. The theme can be easily installed and configured according to individual preferences. By being open source, users can contribute to the development and improvement of Cocoa. It is licensed under the MIT License, allowing users to freely use and modify the theme.