Repository: redlib-org/redlib (language: rust)

Issue:
✨ Feature parity: Show username in page title for comment permalinks
## How does this feature work on Reddit?
On old reddit a permalink to a comment has a url like: 
https://old.reddit.com/r/aww/comments/1iryzch/the_way_he_looked_at_her_when_she_pulled_the/mdcif0n/?context=3
and it gives a page title like: `matthewe-x comments on The way he looked at her when she pulled the board closer 🥹` 
which is basically `<username> comments on <page title>`

## Describe how this could be implemented into Redlib
Right now, redlib uses the page title only for comment permalink pages:
`The way he looked at her when she pulled the board closer 🥹` and gives no indication that its referring to a particular comment in a thread, in the page title.

## Describe alternatives you've considered
- if the specific commenter cannot be specified like in old reddit, a generic title like `Comment on <page title>` might work

## Additional context / screenshot
Old reddit shows this type of title, specifying the username commenting on the page
New reddit does not show specificity in comment permalink pages



Discussion / hints:

Fix patch:
diff --git a/templates/post.html b/templates/post.html
index 17ad4562..adbe6d6d 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,7 +1,13 @@
 {% extends "base.html" %}
 {% import "utils.html" as utils %}
 
-{% block title %}{{ post.title }} - r/{{ post.community }}{% endblock %}
+{% block title %}
+	{% if single_thread %}
+		{{ comments[0].author.name }} comments on {{ post.title }} - r/{{ post.community }}
+	{% else %}
+		{{ post.title }} - r/{{ post.community }}
+	{% endif %}
+{% endblock %}
 
 {% block search %}
 	{% call utils::search(["/r/", post.community.as_str()].concat(), "") %}


Test patch: