diff options
author | Jean-Yves Gastaud <jygastaud@mail.com> | 2020-06-03 15:04:46 +0300 |
---|---|---|
committer | Jean-Yves Gastaud <jygastaud@mail.com> | 2020-06-03 15:17:26 +0300 |
commit | 1750886c71ce66a496468e5186dc4ffa993d950c (patch) | |
tree | b854e1d1f60d7f1fde48e51a49b6c56342ec317e | |
parent | 7c5b4fe893d63f613616aa13902f764e3598a927 (diff) |
Fix import mounts and readme
Looking at 0.3.2 tag of hericons, `dist` directory don't exist anymore and `svg` names and directory has changed.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | config.toml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ The icons gets mounted in `assets/svg/heroicons`. This means that they can be used like this in a Hugo template: ```html -{{ $icon := resources.Get "svg/heroicons/outline-md/md-search.svg" }} +{{ $icon := resources.Get "svg/heroicons/outline/search.svg" }} {{ $icon.Content | safeHTML }} ``` diff --git a/config.toml b/config.toml index 6c39487..3d76466 100644 --- a/config.toml +++ b/config.toml @@ -2,5 +2,5 @@ [[module.imports]] path="github.com/refactoringui/heroicons" [[module.imports.mounts]] -source = "dist" +source = "src" target = "assets/svg/heroicons"
\ No newline at end of file |