summaryrefslogtreecommitdiff
path: root/utab/rendering.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-07-18 10:52:20 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-07-18 10:52:20 +0800
commit199c674de7a17046f6a9a88d2fa50944dc240595 (patch)
tree465f3dbf965f7a9467d9c38ee34d2c22a62cca36 /utab/rendering.py
parentc1480c76418b612ab2279f000920cb5443a56bdf (diff)
Make site title configurable via class="site-title"HEADmaster
Diffstat (limited to 'utab/rendering.py')
-rw-r--r--utab/rendering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utab/rendering.py b/utab/rendering.py
index 12507f2..d940d68 100644
--- a/utab/rendering.py
+++ b/utab/rendering.py
@@ -27,7 +27,7 @@ def render_sites(sites: list, columns=8, rows=4, action="go"):
'<div class="sites-item">'
f'<a class="site" href="/{action}/{urllib.parse.quote(col[URL], safe="")}">'
f'<img class="site-favicon" src="{col[FAVICON]}" title="{col[URL]}"/></a>'
- + f"<p>{col[TITLE]}</p>"
+ + f'<p class="site-title">{col[TITLE]}</p>'
+ "</div>"
)
html += "</div>"