aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-27 23:52:14 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-27 23:52:14 -0700
commitb9e4035aa347ecce85bb0dbd0d487558a3e77073 (patch)
tree0dd28e03c7cb0dccaf7705a02f28a96ae26a4c5a
parent2ec95adb5fa573e968098efe10571bd5c71fded6 (diff)
downloadyt-local-b9e4035aa347ecce85bb0dbd0d487558a3e77073.tar.lz
yt-local-b9e4035aa347ecce85bb0dbd0d487558a3e77073.tar.xz
yt-local-b9e4035aa347ecce85bb0dbd0d487558a3e77073.zip
channel about page: list links vertically, not inline
-rw-r--r--youtube/channel.py2
-rw-r--r--yt_channel_about_template.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/youtube/channel.py b/youtube/channel.py
index 960fb0e..c229cb0 100644
--- a/youtube/channel.py
+++ b/youtube/channel.py
@@ -233,7 +233,7 @@ def tab_with_content(tabs):
raise Exception("No tabs found with content")
channel_link_template = Template('''
-<a href="$url">$text</a>''')
+<li><a href="$url">$text</a></li>''')
stat_template = Template('''
<li>$stat_value</li>''')
def channel_about_page(polymer_json):
diff --git a/yt_channel_about_template.html b/yt_channel_about_template.html
index af61a3d..5ff1542 100644
--- a/yt_channel_about_template.html
+++ b/yt_channel_about_template.html
@@ -61,7 +61,9 @@ $stats
<h3>Description</h3>
<span class="description">$description</span>
<hr>
+ <ul>
$links
+ </ul>
</div>
</main>