Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit aa3cdb9

Browse files
authored
Revert custom sponsor url in nav
1 parent 8e88d10 commit aa3cdb9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

layouts/partials/events/event_navbar.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@
2626
{{- $.Scratch.Set "url" $e.registration_link -}}
2727
{{- end -}}
2828
{{- end -}}
29-
{{- end -}}
30-
{{- if eq .name "sponsor" -}}
31-
{{- if $e.sponsor_link -}}
32-
{{- if ne $e.sponsor_link "" -}}
33-
{{- $.Scratch.Set "url" $e.sponsor_link -}}
34-
{{- end -}}
35-
{{- end -}}
3629
{{- end -}}
3730
<li class="nav-item active">
3831
<a class="nav-link" href="{{$.Scratch.Get "url" }}">{{ .name }}</a>

0 commit comments

Comments
 (0)