Browse Source

Add hr to bottom of page and slightly change comment integration

Thomas Buck 3 years ago
parent
commit
62aabece61
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      page.html

+ 6
- 4
page.html View File

92
                         print "<i>Last updated at %s.</i>" % date
92
                         print "<i>Last updated at %s.</i>" % date
93
         %-->
93
         %-->
94
         {{ __content__ }}
94
         {{ __content__ }}
95
+        <hr>
95
         <!--%
96
         <!--%
96
             # Disqus Comments (only show button to load afterwards)
97
             # Disqus Comments (only show button to load afterwards)
97
             if page.get("comments", "false") == "true":
98
             if page.get("comments", "false") == "true":
98
-                print '<div style="margin-top: 1em; text-align: center;">'
99
+                print '<div style="text-align: center;">'
99
                 print '<button class="show-comments">Load Disqus comments</button>'
100
                 print '<button class="show-comments">Load Disqus comments</button>'
101
+                print '<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>'
100
                 print '</div>'
102
                 print '</div>'
101
                 print '<div id="disqus_thread"></div>'
103
                 print '<div id="disqus_thread"></div>'
102
-                print '<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>'
104
+                print '<hr>'
103
             elif page.get("comments", "false") != "false":
105
             elif page.get("comments", "false") != "false":
104
-                print '<p><a href="%s">Head over here to discuss this article!</a></p>' % page.get("comments", "false")
106
+                print '<div style="text-align: center;"><a href="%s">Head over here to discuss this article!</a></div>' % page.get("comments", "false")
107
+                print '<hr>'
105
         %-->
108
         %-->
106
     </div>
109
     </div>
107
-
108
     <div id="footer">
110
     <div id="footer">
109
         <a href="https://hg.sr.ht/~obensonne/poole">Poole</a>
111
         <a href="https://hg.sr.ht/~obensonne/poole">Poole</a>
110
         &middot;
112
         &middot;

Loading…
Cancel
Save