~sircmpwn/sr.ht-dev

git.sr.ht: Add repo description to summary page title v1 APPLIED

Paul Wise: 1
 Add repo description to summary page title

 1 files changed, 7 insertions(+), 1 deletions(-)
#918502 alpine.yml success
#918503 archlinux.yml success
#918504 debian.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/38050/mbox | git am -3
Learn more about email & git

[PATCH git.sr.ht] Add repo description to summary page title Export this patch

Makes it easier to find repos in the history of browsers that save titles.

Potentially makes web search engine results more useful.
---
 gitsrht/templates/summary.html | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gitsrht/templates/summary.html b/gitsrht/templates/summary.html
index 869e368..bea2b54 100644
--- a/gitsrht/templates/summary.html
+++ b/gitsrht/templates/summary.html
@@ -1,7 +1,13 @@
{% extends "repo.html" %}
{% import "utils.html" as utils with context %}
{% block title %}
<title>{{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git</title>
<title>
{{repo.owner.canonical_name}}/{{repo.name}} -
{% if repo.description %}
{{repo.description}} -
{% endif %}
{{cfg("sr.ht", "site-name")}} git
</title>
{% endblock %}
{% block content %}
{% if repo.description %}
-- 
2.39.0
Thanks!

To git@git.sr.ht:~sircmpwn/git.sr.ht
   be2eda0..e74ae7a  master -> master
git.sr.ht/patches: SUCCESS in 4m52s

[Add repo description to summary page title][0] from [Paul Wise][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/38050
[1]: mailto:pabs3@bonedaddy.net

✓ #918502 SUCCESS git.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/918502
✓ #918504 SUCCESS git.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/918504
✓ #918503 SUCCESS git.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/918503