diff --git a/layouts/partials/services/item/services_categories.html b/layouts/partials/services/item/services_categories.html index 149bc31..b234180 100644 --- a/layouts/partials/services/item/services_categories.html +++ b/layouts/partials/services/item/services_categories.html @@ -1,9 +1,5 @@ {{ with .GetTerms "services_categories" }} -
- -
-{{ end }} + {{ range . }} +

{{ partial "func/PrepareHTML" .Title }}

+ {{ end }} +{{ end }} \ No newline at end of file diff --git a/layouts/partials/services/services_categories.html b/layouts/partials/services/services_categories.html index 29d3bd8..e5668b4 100644 --- a/layouts/partials/services/services_categories.html +++ b/layouts/partials/services/services_categories.html @@ -1,10 +1,3 @@ -{{ with .GetTerms "services_categories" }} -
-

{{ i18n "services_categories.title" (. | len) }}

- -
+{{ range first 1 (.GetTerms "services_categories") }} +

{{ partial "func/PrepareHTML" .Title }}

{{ end }} diff --git a/layouts/partials/services_categories/container-single.html b/layouts/partials/services_categories/container-single.html index 1f91f87..8d7e36f 100644 --- a/layouts/partials/services_categories/container-single.html +++ b/layouts/partials/services_categories/container-single.html @@ -1,7 +1,5 @@
{{ partial "services_categories/heading-single" . }} - {{ partial - "services_categories/filters" . - }} + {{ partial "services_categories/filters" . }} {{ partial "services_categories/services" . }}
diff --git a/layouts/partials/services_categories/container.html b/layouts/partials/services_categories/container.html index c921da7..ca21df7 100644 --- a/layouts/partials/services_categories/container.html +++ b/layouts/partials/services_categories/container.html @@ -1,6 +1,4 @@
{{ partial "services_categories/heading" . }} - {{ partial - "services_categories/paginator" . - }} + {{ partial "services_categories/paginator" . }}
diff --git a/layouts/services_categories/term.html b/layouts/services_categories/term.html index f7d3371..545a7b1 100644 --- a/layouts/services_categories/term.html +++ b/layouts/services_categories/term.html @@ -1,4 +1,7 @@ -{{ define "hero" }}{{- partial "services_categories/hero-single" . -}}{{ end }} +{{ define "hero" }} + {{- partial "services_categories/hero-single" . -}} +{{ end }} + {{ define "main" }} {{ partial "services_categories/schema-single" . }} {{ partial "services_categories/container-single" . }} diff --git a/package.json b/package.json index f2f9bbf..641cea4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugolify-theme-services-categories", - "version": "0.0.0", + "version": "1.0.0", "homepage": "https://www.hugolify.io", "repository": "https://github.com/hugolify/hugolify-theme-services-categories", "bugs": {