mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
29a7a942b7c6e494dd8cfb941f0950504769528c
Some pygment color schemes (like `bw`, which we use as default in the exampleSite) do not set a foreground color explicitly, which makes those themes look bad/illegible when using the dark mode of hugo-coder. Most such themes are light themes (it seems after a quick research), which explains this phenomenon. This commit adds a fix for such color schemes by setting the default foreground color to the one used in the light hugo-coder colorscheme. It is overridden by proper syntax highlighting schemes.
A simple and clean blog theme for Hugo.
Live Demo
See here.
Quick Start
- Add the repository into your Hugo Project repository as a submodule,
git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder. - Configure your
config.toml. You can either use this minimal configuration as a base, or look for a complete explanation about all configurations here. Theconfig.tomlinside theexampleSiteis also a good reference. - Build your site with
hugo serverand see the result athttp://localhost:1313/.
Extra Guides
Stackbit
This theme is ready to import into Stackbit. This theme can be deployed to Netlify and you can connect any headless CMS including Forestry, NetlifyCMS, DatoCMS or Contentful.
License
Coder is licensed under the MIT license.
Maintenance
This theme is maintained by its author Luiz de Prá with the help from these awesome contributors.
Sponsoring
If you like my project or it was useful for you, consider supporting its development. Just:
Special Thanks
- Gleen McComb, for his great article about custom pagination.
- All contributors, for every PR and Issue reported.
Description
Languages
SCSS
79.8%
HTML
18.3%
JavaScript
1.7%
Makefile
0.2%
