Browse Source

add font aewsome, needed for social buttons

Oz N Tiram 9 years ago
parent
commit
24e5075ea0
2 changed files with 11 additions and 5 deletions
  1. 2 2
      templates/base.html
  2. 9 3
      templates/entry.html

+ 2 - 2
templates/base.html

@@ -1,8 +1,8 @@
-{% set static_prefix = static_prfeix | default("/") %}
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html lang="en">
-  {% block head %}
+{% set static_prefix = static_prfeix | default("/") %}
+{% block head %}
   <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">

+ 9 - 3
templates/entry.html

@@ -7,9 +7,15 @@
   {{ entry.body_html }}
 <div class="tags">
   <p>This entry was tagged
-  {% for tag in entry.tags %}
-  <a class="tag" href="/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}
-  {% endfor %}
+  {% for tag in entry.tags %}<a class="tag" href="/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}{% endfor %}
+</div>
+<div id="social-btns" style="margin-top: 50px; margin-bottom: 0px">
+	<h4>Share this post:</h4> 
+	<i class="fa fa-linkedin-square fa-2x"></i>
+	<i class="fa fa-facebook-square fa-2x"></i>
+	<i class="fa fa-twitter-square fa-2x"></i>
+	<i class="fa fa-google-plus-square fa-2x"></i>
+	<i class="fa fa-envelope-square fa-2x"></i>
 </div>
 <div id="underpost">
   <h3>Discussions/Feedback.</h3>