mirror of https://github.com/onweru/compose.git

weru
01.33.2022 e163795ace1f0109bf7ee8525a235e2850094707
add helper template #69

Signed-off-by: weru <fromweru@gmail.com>
1 files modified
6 ■■■■■ changed files
layouts/partials/functions/getIconPath.html 6 ●●●●● patch | view | raw | blame | history
layouts/partials/functions/getIconPath.html
@@ -1,4 +1,6 @@
{{ $s := .Site }}
{{ $sp := $s.Params }}
{{ $sp := site.Params }}
{{ $iconsPath := "icons/" }}
{{ with $sp.iconsPath }}
  {{ $iconsPath = . }}
{{ end }}
{{ return $iconsPath }}