mirror of https://github.com/luizdepra/hugo-coder.git

Paolo Mainardi
02.22.2023 c3bcde658bfca3a779b7948e5817f19bdc30298c
refs
author Paolo Mainardi <paolomainardi@gmail.com>
Monday, January 2, 2023 13:22 +0100
committer GitHub <noreply@github.com>
Monday, January 2, 2023 13:22 +0100
commitc3bcde658bfca3a779b7948e5817f19bdc30298c
tree c2cc8e57e9613b70898bc30abb4c3a7b52b6cbbd tree | zip | gz
parent ac9ebbbf61eeb08f0a085a61e4e17ce08f8e4204 view | diff
feat: Add support for custom remote javascript files (#751)

### Prerequisites

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

- [ ] This pull request fixes a bug.
- [X] This pull request adds a feature - #750
- [ ] This pull request introduces breaking change.

### Description

Add a new configuration item and use resources.GetRemote to gather the
remote asset.

### Checklist

#### General

- [X] Describe what changes are being made
- [X] Explain why and how the changes were necessary and implemented
respectively

#### Resources

- [X] 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
3 files modified
28 ■■■■ changed files
docs/configurations.md 13 ●●●● diff | view | raw | blame | history
exampleSite/config.toml 4 ●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 11 ●●●●● diff | view | raw | blame | history