mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-08 01:22:29 +00:00
Switch themes to minimo
This commit is contained in:
9
themes/minimo/layouts/partials/extras/widget_area.html
Normal file
9
themes/minimo/layouts/partials/extras/widget_area.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- range .Widgets -}}
|
||||
{{- if eq . "search" -}}
|
||||
{{- if not ( eq $.Scope.Layout "search" ) -}}
|
||||
{{- partial ( print "widgets/" . ) $.Scope -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- partial ( print "widgets/" . ) $.Scope -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
Reference in New Issue
Block a user