Go to file
James Panther 3c122867ee
📝 Add chart samples page
2021-10-29 17:04:57 +11:00
.github 👷 Fix labeller config 2021-10-27 09:27:57 +11:00
archetypes 🚸 Remove slug and taxonomy from default archetype 2021-10-29 16:22:29 +11:00
assets 🔀 Merge branch 'dev' into chart 2021-10-29 16:27:55 +11:00
config/_default 🚧 Add config parameters for dark appearance 2021-10-29 12:07:21 +11:00
data Add Pinterest sharing links 2021-10-20 11:07:55 +11:00
exampleSite 📝 Add chart samples page 2021-10-29 17:04:57 +11:00
i18n 🌐 Add i18n strings for appearance toggle 2021-10-29 12:30:42 +11:00
images 📝 Complete documentation overhaul 2021-08-16 17:19:10 +10:00
layouts 💄 Add more styles to charts 2021-10-29 17:04:31 +11:00
static Add asset fingerprinting and SRI 2021-08-21 12:20:29 +10:00
.gitignore 🙈 Update .gitignore 2021-08-14 14:45:44 +10:00
.prettierrc 🔧 Update Prettier config 2021-08-17 11:03:47 +10:00
CHANGELOG.md 🔀 Merge branch 'dev' into chart 2021-10-29 16:27:55 +11:00
CONTRIBUTING.md 📝 Clean up readme and installation instructions 2021-10-21 11:13:11 +11:00
LICENSE 🎉 Initial commit 2021-08-11 15:28:33 +10:00
README.md 🔀 Merge branch 'dev' into chart 2021-10-29 16:27:55 +11:00
go.mod Add Hugo module support 2021-08-18 16:01:53 +10:00
netlify.toml 💚 Fix Hugo version string in Netlify config 2021-08-26 09:48:08 +10:00
package-lock.json Add Chart.js dependency 2021-10-28 15:31:34 +11:00
package.json Add Chart.js dependency 2021-10-28 15:31:34 +11:00
release.sh 👷 Fix git version tags not being prefixed 2021-10-19 17:59:13 +11:00
tailwind.config.js 🚧 Add dark mode toggle button 2021-10-29 11:15:00 +11:00
theme.toml 🚚 Move min Hugo version to module.toml 2021-08-20 17:20:20 +10:00

README.md

Congo

Congo is designed to be a simple, lightweight theme for Hugo. It's built using Tailwind CSS with a clean and minimalist design that prioritises to your content.

🌏 Demo site
📑 Theme documentation
🐛 Bug reports & issues
💡 Questions & feature requests

Screenshot

Features

  • Built with Tailwind CSS JIT for minified stylesheets without any excess code
  • Fully responsive layout
  • Multiple colour schemes (or fully customise your own)
  • Dark mode (forced on/off or auto-switching with user toggle)
  • Highly customisable configuration
  • Multiple homepage layouts
  • Flexible with any content types, taxonomies and menus
  • Ability to link to posts on third-party websites
  • Diagrams and visualisations using Mermaid
  • Charts using Chart.js
  • SVG icons from FontAwesome 5
  • Heading anchors, Buttons, Badges and more
  • HTML and Emoji support in articles 🎉
  • SEO friendly with links for sharing to social media
  • RSS feeds
  • Fathom Analytics and Google Analytics support
  • Favicons support
  • Comments support
  • Advanced customisation using simple Tailwind colour definitions and styles
  • Fully documented
  • Regular updates with fixes and new features

Documentation

Congo has extensive documentation that covers all aspects of the theme. Be sure to read the docs to learn more about how to use the theme and its features.


Installation

Congo supports several installation methods - as a Hugo Module (easiest), a git submodule, or as a completely manual install.

Detailed instructions for each method can be found in the Installation docs. You should consult the documentation for the simplest setup experience. Below is a quick start guide using Hugo modules if you're already confident installing Hugo themes.

Quick start using Hugo

Note: Ensure you have Go and Hugo installed, and that you have created a new Hugo project before proceeding.

  1. From your project directory, initialise Hugo Modules:

    hugo mod init github.com/<username>/<repo-name>
    
  2. Create config/_default/module.toml and add the following:

    [[imports]]
    path = "github.com/jpanther/congo"
    
  3. Start your server using hugo server and the theme will be downloaded automatically.

  4. In the root folder of your website, delete the config.toml file that was generated by Hugo. Copy the *.toml config files from the theme into your config/_default/ folder.

    Note: Do not overwrite the module.toml file you created above!

    You will find these theme config files in the Hugo cache directory, or download a copy from GitHub.

  5. Follow the Getting Started instructions to configure your website.

Installing theme updates

As new releases are posted, you can update the theme using Hugo. Simply run hugo mod get -u from your project directory and the theme will automatically update to the latest release.

Detailed update instructions are available in the docs.


Contributing

Congo is expected to evolve over time. I intend to keep adding features and making changes as required.

Feel free to get in touch with any issues or suggestions for new features you'd like to see.

If you're able to fix a bug or implement a new feature, I welcome PRs for this purpose. Learn more in the contributing guidelines.