Skip to content
Snippets Groups Projects
Commit 453b1844 authored by Olivia206's avatar Olivia206
Browse files

use static to determine top link in events block

parent 315c7b91
No related merge requests found
......@@ -10,7 +10,7 @@
<div class="container">
<div class="block-content">
{{ $events_page := site.GetPage "/events" }}
{{ $link := $events_page.Permalink }}
{{ $link := .title_link }}
{{ if .category }}
{{ $term := site.GetPage (printf "/events_categories%s" .category) }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment