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

github.com/miguelsimoni/hugo-initio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBALLOON a.k.a. Fu-sen <balloonakafusen@gmail.com>2019-12-24 11:20:17 +0300
committerGitHub <noreply@github.com>2019-12-24 11:20:17 +0300
commitfccf045fdd9124f079bf8702456f46977cf0d9f5 (patch)
tree32fab553e777384c60f9553247b3f53b4a9440e7
parentdb720ea020cfac41d253a40e8cf7088b275aaaae (diff)
Hugo v0.58.0+ specification change
Service no longer works than Hugo v0.58.0. This fix is required: https://github.com/gohugoio/hugo/releases/tag/v0.58.0 https://github.com/gohugoio/hugo/issues/6238
-rw-r--r--layouts/partials/services.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/services.html b/layouts/partials/services.html
index 0912711..c22c9d0 100644
--- a/layouts/partials/services.html
+++ b/layouts/partials/services.html
@@ -3,7 +3,7 @@
<h2 class="section-title"><span>Services</span></h2>
<div class="">
- {{ range where .Data.Pages "Section" "service" }}
+ {{ range where .Site.RegularPages "Section" "service" }}
<div class="col-sm-6 col-md-3">
<h3 class="text-center">{{ .Title }}</h3>
<p>{{ .Summary }}</p>