congo/README.md

97 lines
4.5 KiB
Markdown
Raw Permalink Normal View History

2021-08-11 10:22:25 +00:00
# Congo
2021-08-11 05:28:33 +00:00
Congo is designed to be a powerful, lightweight theme for [Hugo](https://gohugo.io). It's built using Tailwind CSS with a clean and minimalist design that prioritises to your content.
2021-08-11 05:28:33 +00:00
🌏 [Demo site](https://jpanther.github.io/congo/)
2021-08-19 01:49:20 +00:00
📑 [Theme documentation](https://jpanther.github.io/congo/docs/)
🐛 [Bug reports & issues](https://github.com/jpanther/congo/issues)
💡 [Questions & feature requests](https://github.com/jpanther/congo/discussions)
2021-08-14 00:50:40 +00:00
![Screenshot](https://raw.githubusercontent.com/jpanther/congo/stable/images/screenshot.png)
2021-08-12 07:33:04 +00:00
2021-08-11 05:28:33 +00:00
## Features
- Fully responsive layout built with Tailwind CSS 3.0
2021-08-20 07:02:08 +00:00
- Multiple colour schemes (or fully customise your own)
2021-10-29 01:10:38 +00:00
- Dark mode (forced on/off or auto-switching with user toggle)
2021-08-14 00:50:40 +00:00
- Highly customisable configuration
2021-08-15 08:41:40 +00:00
- Multiple homepage layouts
2021-08-12 07:33:04 +00:00
- Flexible with any content types, taxonomies and menus
2023-07-20 20:46:30 +00:00
- Multilingual content support including support for RTL languages
2021-08-16 07:19:10 +00:00
- Ability to link to posts on third-party websites
- Client-side site search powered by Fuse.js
- Diagrams and visualisations using Mermaid
2021-10-28 04:32:27 +00:00
- Charts using Chart.js
2021-11-03 23:58:26 +00:00
- Mathematical notation using KaTeX
2022-03-09 05:13:36 +00:00
- SVG icons from FontAwesome 6
- Automatic image resizing using Hugo Pipes
2022-01-25 23:49:30 +00:00
- Heading anchors, Tables of Contents, Code copy, Buttons, Badges and more
- HTML and Emoji support in articles 🎉
2021-08-16 07:19:10 +00:00
- 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
2021-08-14 00:50:40 +00:00
- 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](https://jpanther.github.io/congo/docs/) that covers all aspects of the theme. Be sure to [read the docs](https://jpanther.github.io/congo/docs/) to learn more about how to use the theme and its features.
2021-08-14 00:50:40 +00:00
---
2021-08-11 05:28:33 +00:00
## Installation
Congo supports several installation methods - as a Hugo Module (easiest), a git submodule, or as a completely manual install.
2021-08-11 05:28:33 +00:00
Detailed instructions for each method can be found in the [Installation](https://jpanther.github.io/congo/docs/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:
```shell
hugo mod init github.com/<username>/<repo-name>
```
2. Create `config/_default/module.toml` and add the following:
```toml
[[imports]]
2022-02-03 04:59:40 +00:00
path = "github.com/jpanther/congo/v2"
```
3. Start your server using `hugo server` and the theme will be downloaded automatically.
2021-08-11 05:28:33 +00:00
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.
2021-08-11 05:28:33 +00:00
> **Note:** Do not overwrite the `module.toml` file you created above!
2021-08-11 05:28:33 +00:00
You will find these theme config files in the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/jpanther/congo/tree/stable/config/_default) from GitHub.
2021-08-11 05:28:33 +00:00
5. Follow the [Getting Started](https://jpanther.github.io/congo/docs/getting-started/) instructions to configure your website.
2021-08-11 05:28:33 +00:00
### Installing theme updates
2021-08-11 05:28:33 +00:00
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.
2021-08-14 00:50:40 +00:00
2021-10-21 00:15:55 +00:00
Detailed [update instructions](https://jpanther.github.io/congo/docs/installation/#installing-updates) are available in the docs.
2021-08-14 00:50:40 +00:00
2021-08-16 07:19:10 +00:00
---
2021-08-11 05:28:33 +00:00
## Contributing
Congo is expected to evolve over time. I intend to keep adding features and making changes as required.
2021-08-11 05:28:33 +00:00
2021-08-19 01:49:20 +00:00
Feel free to get in touch with any issues or suggestions for new features you'd like to see.
2021-08-11 05:28:33 +00:00
2021-08-19 01:49:20 +00:00
- 🐛 **Bug reports & issues:** Use [GitHub Issues](https://github.com/jpanther/congo/issues)
- 💡 **Ideas for new features:** Open a discussion on [GitHub Discussions](https://github.com/jpanther/congo/discussions)
- 🙋‍♀️ **General questions:** Head to [GitHub Discussions](https://github.com/jpanther/congo/discussions)
2021-08-11 05:28:33 +00:00
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](https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md).