Fix nil user in education template

This commit is contained in:
Ben Visness 2022-09-10 12:28:32 -05:00
parent d2b34cb87d
commit 19d79a2a77
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<h2>Guides</h2>
{{ if .User.IsEduAuthor }}
{{ if and .User .User.IsEduAuthor }}
<div class="mb2">
<a href="{{ .NewArticleUrl }}"><span class="big pr1">+</span> New Article</a>
</div>