diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-03 15:45:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 15:45:10 +0300 |
commit | 768ea4b24801a241ff98d999d62b578d022f3348 (patch) | |
tree | b854e1d1f60d7f1fde48e51a49b6c56342ec317e | |
parent | 7c5b4fe893d63f613616aa13902f764e3598a927 (diff) | |
parent | 1750886c71ce66a496468e5186dc4ffa993d950c (diff) |
Merge pull request #1 from jygastaud/master
Fix import mounts and readme
-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 |