From 80152e0a2b946b7bb406625633bd46d7c4ea9ace Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Nov 2024 18:52:21 +0200 Subject: [PATCH] add comments for future self --- files/templates/post.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/post.html b/files/templates/post.html index 3d9f44ebe..404b33b70 100644 --- a/files/templates/post.html +++ b/files/templates/post.html @@ -157,9 +157,9 @@ {% endif %} {% elif p.url.startswith('https://instagram.com/') %} {% set path = p.url.split('https://instagram.com/')[1].rstrip('/') %} - {% if '/' in path %} + {% if '/' in path %} {# implies post or reel #} {% set path = path + '/embed/captioned' %} - {% else %} + {% else %} {# implies profile #} {% set path = path + '/embed' %} {% endif %}