From 61598fa95bde693396870e25e786e99c851eccbc Mon Sep 17 00:00:00 2001
From: Jake <j.vondoemming@stud.uni-goettingen.de>
Date: Thu, 4 Aug 2022 20:56:42 +0200
Subject: [PATCH] fixed pages that are links not working in menu

---
 theme/templates/macros/link.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/theme/templates/macros/link.html b/theme/templates/macros/link.html
index a5defe9..c4b2157 100644
--- a/theme/templates/macros/link.html
+++ b/theme/templates/macros/link.html
@@ -65,8 +65,8 @@
 						{%- set ns.anchor = anchor -%}
 						{%- set ns.reflang = reflang -%}
 						{%- set ns.is_external = is_external -%}
-						{%- set ns.reftype = reftype -%}
 						{%- if not is_external -%}
+							{%- set ns.reftype = reftype -%}
 							{%- set ns.refid = refid -%}
 							{%- set ns.refpage = refpage -%}
 							{%- set ns.tagcattitle = tagcattitle -%}
-- 
GitLab