Go to file
James Panther 577d2bbe6e
📝 Update changelog
2024-04-17 15:11:56 +10:00
.github 🔀 Merge pull request #856 from jpanther/dependabot/github_actions/peaceiris/actions-gh-pages-4 2024-04-17 09:22:38 +10:00
archetypes Use correct render value and remove list param to allow show external on homepage 2023-08-16 16:09:34 +00:00
assets 🔀 Merge pull request #851 from clouvet/bluesky-icon 2024-04-17 15:05:02 +10:00
config/_default 🔀 Merge pull request #849 from ItsSunnyMonster/add-theme-color 2024-04-17 15:10:10 +10:00
data 🚸 Add `x-twitter` sharing links 2024-03-09 14:52:22 +11:00
exampleSite 🔀 Merge pull request #849 from ItsSunnyMonster/add-theme-color 2024-04-17 15:10:10 +10:00
i18n 🔀 Merge pull request #852 from eliaserland/dev 2024-04-17 09:26:49 +10:00
images 📝 Complete documentation overhaul 2021-08-16 17:19:10 +10:00
layouts 🔀 Merge pull request #849 from ItsSunnyMonster/add-theme-color 2024-04-17 15:10:10 +10:00
static 🎨 Code cleanup 2023-12-26 11:22:55 +11:00
.gitignore 🙈 Clean up gitignore 2022-01-19 12:45:19 +11:00
.prettierignore 🎨 Code cleanup 2023-12-26 11:22:55 +11:00
.prettierrc 🎨 Tailwind classes cleanup 2023-12-26 11:56:32 +11:00
CHANGELOG.md 📝 Update changelog 2024-04-17 15:11:56 +10:00
CODE_OF_CONDUCT.md 🧑‍💻 Add code of conduct 2023-11-25 20:26:26 +11:00
CONTRIBUTING.md Fixing typos 2023-08-14 08:29:44 +02:00
LICENSE 🎉 Initial commit 2021-08-11 15:28:33 +10:00
README.md Added support for Umami Analytics. See #829 for further references. 2024-03-16 17:13:29 +01:00
go.mod 🐛 Add v2 to go path 2022-02-03 14:53:57 +11:00
lighthouserc.js 👷 Update Lighthouse config 2022-01-20 14:06:28 +11:00
netlify.toml 👷 Bump Hugo Nelify version to 0.119.0 2023-10-24 11:26:35 +11:00
package-lock.json 📌 Bump @tailwindcss/typography from 0.5.11 to 0.5.12 2024-04-16 23:38:39 +00:00
package.json 🔨 Preparing release v2.8.2 2024-04-17 10:41:41 +10:00
release.sh 👷 Fix git version tags not being prefixed 2021-10-19 17:59:13 +11:00
tailwind.config.js 🔧 Remove opacity function from Tailwind config 2022-06-22 17:19:54 +10:00
theme.toml Fixing typos 2023-08-14 08:29:44 +02:00

README.md

Congo

Congo is designed to be a powerful, 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

  • Fully responsive layout built with Tailwind CSS 3.0
  • 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
  • Multilingual content support including support for RTL languages
  • Ability to link to posts on third-party websites
  • Client-side site search powered by Fuse.js
  • Diagrams and visualisations using Mermaid
  • Charts using Chart.js
  • Mathematical notation using KaTeX
  • SVG icons from FontAwesome 6
  • Automatic image resizing using Hugo Pipes
  • Heading anchors, Tables of Contents, Code copy, Buttons, Badges and more
  • HTML and Emoji support in articles 🎉
  • SEO friendly with links for sharing to social media
  • Fathom Analytics, Plausible Analytics, Umami Analytics and Google Analytics support
  • RSS feeds, Favicons and comments support
  • Advanced customisation using simple Tailwind colour definitions and styles
  • Optimised for performance and accessibility with perfect Lighthouse scores
  • Fully documented with regular updates

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/v2"
    
  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.