diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-24 20:33:18 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-02-24 20:33:57 +0300 |
commit | 7e50e358ba21a764a38943d4e3413b8b442dd4cc (patch) | |
tree | c6c4b4f45d495902c27ecb522e3b79928153d878 | |
parent | 79182cedeb9f3799429a78e213926aca5cc50c27 (diff) |
Initial version
-rw-r--r-- | config.toml | 9 | ||||
-rw-r--r-- | go.mod | 3 | ||||
-rw-r--r-- | layouts/partials/heroicon.html | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..89bf9d0 --- /dev/null +++ b/config.toml @@ -0,0 +1,9 @@ +[module] +[[module.mounts]] +source = "layouts" +target = "layouts" +[[module.imports]] +path="github.com/gohugoio/hugo-mod-heroicons" +[[module.imports.mounts]] +source = "src" +target = "assets/svg/heroicons"
\ No newline at end of file @@ -0,0 +1,3 @@ +module github.com/gohugoio/hugo-mod-heroicons + +go 1.13 diff --git a/layouts/partials/heroicon.html b/layouts/partials/heroicon.html new file mode 100644 index 0000000..9a7b277 --- /dev/null +++ b/layouts/partials/heroicon.html @@ -0,0 +1,2 @@ +{{ $icon := resource.Get . }} +<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="{{ $icon.Content }}" />
\ No newline at end of file |