Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradp/hugo-simple-icons
💠Hugo module to easily use simpleicons.org anywhere in your site.
https://github.com/bradp/hugo-simple-icons
hugo hugo-boilerplate hugo-m hugo-mods hugo-module hugo-site icons
Last synced: about 2 months ago
JSON representation
💠Hugo module to easily use simpleicons.org anywhere in your site.
- Host: GitHub
- URL: https://github.com/bradp/hugo-simple-icons
- Owner: bradp
- License: mit
- Created: 2020-12-18T12:26:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T12:28:45.000Z (about 4 years ago)
- Last Synced: 2024-12-19T17:03:14.432Z (about 2 months ago)
- Topics: hugo, hugo-boilerplate, hugo-m, hugo-mods, hugo-module, hugo-site, icons
- Language: HTML
- Homepage: http://simpleicons.org
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hugo-simple-icons
Hugo module to easily use [Simple Icons](https://simpleicons.org/) 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-simple-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 'hugo' with your chosen icon.)
```
{{ partial "simple-icons/icon" "hugo" }}
```To view all the icons & their names, you can go to `/simpleicons`.
Enjoy!