Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/serg/yourfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorserg <contact@sergfurtak.com>2020-07-12 15:04:52 +0300
committerserg <contact@sergfurtak.com>2020-07-12 15:04:52 +0300
commitfd32eb0dfae3dfac628a50ef89d29305eae2e629 (patch)
tree9662d479ade73cc098498a482c9d064560909516
parent0850133e7d8794f991a9181ee8131f70f928ca3a (diff)
rename folder for the partials that uses as functions
-rw-r--r--layouts/partials/funcs/GetImage.html (renamed from layouts/partials/func/GetImage.html)0
-rw-r--r--layouts/partials/modules/image.html4
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/func/GetImage.html b/layouts/partials/funcs/GetImage.html
index e077998..e077998 100644
--- a/layouts/partials/func/GetImage.html
+++ b/layouts/partials/funcs/GetImage.html
diff --git a/layouts/partials/modules/image.html b/layouts/partials/modules/image.html
index 9e9b6dc..e4c9a41 100644
--- a/layouts/partials/modules/image.html
+++ b/layouts/partials/modules/image.html
@@ -8,7 +8,7 @@
{{with .params}}
{{range (last (sub (len .) 1) .)}}
- {{$image := partial "func/GetImage" (dict "bundle" $imageBundle "path" $path "cmd" .cmd "options" .options)}}
+ {{$image := partial "funcs/GetImage" (dict "bundle" $imageBundle "path" $path "cmd" .cmd "options" .options)}}
{{$srcset = $srcset | append (print ($image.RelPermalink) " " $image.Width "w")}}
{{end}}
{{end}}
@@ -19,7 +19,7 @@
{{end}}
{{if .params}}
{{with (index .params 0)}}
- {{$image := partial "func/GetImage" (dict "bundle" $imageBundle "path" $path "cmd" .cmd "options" .options)}}
+ {{$image := partial "funcs/GetImage" (dict "bundle" $imageBundle "path" $path "cmd" .cmd "options" .options)}}
<img src="{{$image.RelPermalink | default ($path | relURL)}}" alt="{{$alt}}" />
{{end}}
{{else}}