From 26021bc912560e3c3a14c8d7de020491f4e2f6a3 Mon Sep 17 00:00:00 2001 From: facundoolano Date: Thu, 4 Jan 2024 11:40:52 -0300 Subject: [PATCH] patch hyperscript syntax error in template --- feedi/templates/entry_header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedi/templates/entry_header.html b/feedi/templates/entry_header.html index 58ea97e..5c54e7b 100644 --- a/feedi/templates/entry_header.html +++ b/feedi/templates/entry_header.html @@ -12,7 +12,7 @@ then on click[shiftKey and metaKey] or keydown[key is 'Enter' and metaKey and shiftKey ] from the closest .feed-entry go to url '{{ url_for("entry_view", id=entry.id) }}' in new window then halt {% endif %} {% if entry.target_url %} - then on keydown[key is 'Enter' and not metaKey and not shiftKey] from the closest .feed-entry go to url '{{ entry.target_url }}' in new window then halt + {% if entry.content_url %}then{% endif %} on keydown[key is 'Enter' and not metaKey and not shiftKey] from the closest .feed-entry go to url '{{ entry.target_url }}' in new window then halt {% endif %}" {% if entry.target_url %}href="{{ entry.target_url }}" target="_blank"{% endif %} >{{ entry.title | safe }}