[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/master] Fix question permalinks
commit 5c20a565298dc373408bc055d370258ed8e748f6
Author: RotationMatrix <52428419+RotationMatrix@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 4 13:39:39 2019 -0400
Fix question permalinks
---
templates/macros/question.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/macros/question.html b/templates/macros/question.html
index 8a2501f..1b5fa59 100644
--- a/templates/macros/question.html
+++ b/templates/macros/question.html
@@ -13,7 +13,7 @@
<li class="list-group-item">
<a href="https://github.com/torproject/tpo/edit/master/content{{ item.path }}/contents.lr">{{ _("Edit this page") }}</a> -
<a href="https://trac.torproject.org/projects/tor/wiki/doc/community/HowToReportBugFeedback">{{ _("Suggest Feedback") }}</a> -
- <a href="{{ item|url }}">{{ _("Permalink") }}</a>
+ <a href="#{{ item._id }}" data-target="#{{ item._id }}">{{ _("Permalink") }}</a>
</li>
</ul>
</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits