diff options
author | Romeo Disca <romeo.disca@gmail.com> | 2019-04-26 16:21:48 +0200 |
---|---|---|
committer | Romeo Disca <romeo.disca@gmail.com> | 2019-04-26 16:24:07 +0200 |
commit | 33454b93629a0f9c6d8058414eb62b2371d6c595 (patch) | |
tree | 442203b2f5acf7ed84395b7a8b37780131936e1e /themes/rusticus/layouts/partials/home/tax-news.html | |
parent | b29109841a634770b47943d5ff0a054de1c782b3 (diff) |
display all news
Diffstat (limited to 'themes/rusticus/layouts/partials/home/tax-news.html')
-rw-r--r-- | themes/rusticus/layouts/partials/home/tax-news.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/rusticus/layouts/partials/home/tax-news.html b/themes/rusticus/layouts/partials/home/tax-news.html new file mode 100644 index 0000000..d997be6 --- /dev/null +++ b/themes/rusticus/layouts/partials/home/tax-news.html @@ -0,0 +1,10 @@ +
+
+<ul>
+ {{ range first 3 .Site.Taxonomies.information.news.Pages.ByExpiryDate }}
+ <li hugo-nav="{{ .RelPermalink}}">
+ <a href="{{ .Permalink}}">{{ .LinkTitle }}</a>
+ </li>
+ {{ end }}
+</ul>
+
|