Repos / pytaku / cd981f4d29
commit cd981f4d29fcb4fd14f31cd2f1c20d978d01008e
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sun Aug 9 22:37:32 2020 +0700

    show source site name on title page

diff --git a/src/pytaku/templates/title.html b/src/pytaku/templates/title.html
index b5a7b2c..fb71962 100644
--- a/src/pytaku/templates/title.html
+++ b/src/pytaku/templates/title.html
@@ -37,7 +37,7 @@ <h1>{{ name }}</h1>
       {{ ibutton(left_icon='bookmark', text=ftext, color=fcolor, title=ftitle) }}
     </form>
   {% endif %}
-  {{ ibutton(href=source_url, right_icon='arrow-up-right', text='Source site', color='blue', title='Go to source site') }}
+  {{ ibutton(href=source_url, right_icon='arrow-up-right', text=site|capitalize, color='blue', title='Go to source site') }}
 </div>
 
 <img class="cover" src="{{ cover }}" alt="cover" />