File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
themes/pmem-hugo/layouts/announcements Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,9 @@ <h4 class="fw-normal mt-2"><a href="{{ .Page.RelPermalink }}" class="text-capita
4848
4949 <!-- Check if lastUrlElement equal to webinars (no filter applied) -->
5050 {{ if eq $lastUrlElement "announcements" }}
51- <!-- Iterate taxonomies -->
52- {{ range $key, $taxonomy := .Site.Taxonomies.announcements }}
53- < div style ="display: flex; justify-content: space-between ">
54- < h4 class ="text-capitalize m-0 mt-3 " style ="float: left "> {{ $key }}</ h4 >
55- < p class ="m-0 mt-3 " style ="right: 0 "> < a href ="{{ .Page.RelPermalink }} "> View all ({{ len $taxonomy.Pages }})</ a > </ p >
56- </ div >
57- <!-- Iterate through each webinars -->
58- {{ range first 4 $taxonomy.Pages }}
51+ <!-- Iterate through all announcements -->
52+ {{ range .Site.Pages }}
53+ {{ if eq .Params.type "announcement" }}
5954 < article class ="card h-shadow h-translate-y-sm all-ts portfolio-item col-md-5 col-12 m-3 border dark-mode ">
6055 < div class ="grid-inner ">
6156 < div class ="portfolio-desc " style ="height: 100px ">
You can’t perform that action at this time.
0 commit comments