Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradp/hugo-feather-icons
💠Hugo module to easily use feathericons.com anywhere in your site.
https://github.com/bradp/hugo-feather-icons
hugo hugo-mods hugo-module hugo-site icons
Last synced: 4 months ago
JSON representation
💠Hugo module to easily use feathericons.com anywhere in your site.
- Host: GitHub
- URL: https://github.com/bradp/hugo-feather-icons
- Owner: bradp
- License: mit
- Created: 2020-12-18T12:32:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T12:33:43.000Z (about 4 years ago)
- Last Synced: 2024-10-09T09:05:38.046Z (4 months ago)
- Topics: hugo, hugo-mods, hugo-module, hugo-site, icons
- Language: HTML
- Homepage: https://feathericons.com/
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hugo-feather-icons
Hugo module to easily use [feather Icons](https://feathericons.com) anywhere in your site.## Installation
First, [init](https://gohugo.io/hugo-modules/use-modules/#initialize-a-new-module) your project as Hugo Module.:
```
hugo mod init github.com//
```Then edit your config file to import the module:
```toml
# config.toml
[module]
[[module.imports]]
path = "github.com/bradp/hugo-feather-icons"
```### Upating
To update all modules:
```
hugo mod get -u
```You may need to run `hugo mod clean` if something isn't working right.
## Usage
To any layout file, simple use this partial (replacing 'anchor' with your chosen icon.)
```
{{ partial "feather-icons/icon" "anchor" }}
```To view all the icons & their names, you can go to `/feathericons`.
Enjoy!