Skip to content

luizdepra/hugo-coder

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Fixes an issue with the Plausible script not loading. As per the
[docs](https://plausible.io/docs/plausible-script), it should be
`script.js` and not `plausible.js`.

**Update:** After further testing (CSP appeared to be the issue), it
looks like it also works with `plausible.js`, probably through backwards
compatibility. If needed, for consistency, this can still be updated to
`script.js`.

### Issues Resolved

Related to #388. It looks like they updated it from `plausible.js` to
`script.js`.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
266beec

Git stats

Files

Permalink
Failed to load latest commit information.

Hugo Theme Badge MIT License Badge

Hugo Coder Logo

A simple and clean blog theme for Hugo.

Live Demo

See here.

Quick Start

  1. Add the repository into your Hugo Project repository as a submodule, git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder.
  2. Configure your config.toml. You can either use this minimal configuration as a base, or look for a complete explanation about all configurations here. The config.toml inside the exampleSite is also a good reference.
  3. Build your site with hugo server and see the result at http://localhost:1313/.

Documentation

See the docs folder.

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:

Buy Me A Coffee

Special Thanks

  • Gleen McComb, for his great article about custom pagination.
  • All contributors, for every PR and Issue reported.