diff options
author | Romeo Disca <romeo.disca@gmail.com> | 2019-04-26 16:36:19 +0200 |
---|---|---|
committer | Romeo Disca <romeo.disca@gmail.com> | 2019-04-26 16:36:19 +0200 |
commit | 20484791139980073ca6179cd3978eb6e2258a51 (patch) | |
tree | 24525913de791dd90e6a3fd06fed52a9350f906e /themes/rusticus/layouts | |
parent | 33454b93629a0f9c6d8058414eb62b2371d6c595 (diff) |
refactor news
Diffstat (limited to 'themes/rusticus/layouts')
-rw-r--r-- | themes/rusticus/layouts/partials/home/tax-news.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/rusticus/layouts/partials/home/tax-news.html b/themes/rusticus/layouts/partials/home/tax-news.html index d997be6..c100881 100644 --- a/themes/rusticus/layouts/partials/home/tax-news.html +++ b/themes/rusticus/layouts/partials/home/tax-news.html @@ -1,7 +1,7 @@ <ul>
- {{ range first 3 .Site.Taxonomies.information.news.Pages.ByExpiryDate }}
+ {{ range first 3 (.Site.GetPage "section" "news").Pages.ByExpiryDate }}
<li hugo-nav="{{ .RelPermalink}}">
<a href="{{ .Permalink}}">{{ .LinkTitle }}</a>
</li>
|