diff options
author | Jiachen Yang <farseerfc@gmail.com> | 2012-03-11 04:40:57 +0900 |
---|---|---|
committer | Jiachen Yang <farseerfc@gmail.com> | 2012-03-11 04:40:57 +0900 |
commit | d4e47e48d34326810c2e666b0ee774723291ce2a (patch) | |
tree | 04201c22a301a80319ecd22c93d640769df9655d /bootstrap2/templates/article.html | |
parent | 19755337b123da8c02f729ef7f4041f0cbf60545 (diff) | |
download | pelican-themes-d4e47e48d34326810c2e666b0ee774723291ce2a.tar.gz |
adjust bootstrap2
Diffstat (limited to 'bootstrap2/templates/article.html')
-rw-r--r-- | bootstrap2/templates/article.html | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/bootstrap2/templates/article.html b/bootstrap2/templates/article.html index f8c4672..3e210a2 100644 --- a/bootstrap2/templates/article.html +++ b/bootstrap2/templates/article.html @@ -1,40 +1,39 @@ {% extends "base.html" %} {% block title %}{{ article.title }}{% endblock %} {% block content %} -<div class="span12"> - <section id="content"> - <article> - <header> - <h1> - <a href="{{ pagename }}" - rel="bookmark" - title="Permalink to {{ article.title }}"> - {{ article.title}} - </a> - </h1> {% include 'twitter.html' %} - </header> - <div class="entry-content"> - {% include 'article_infos.html' %} - {{ article.content }} - </div><!-- /.entry-content --> - {% if DISQUS_SITENAME %} - <div class="comments"> - <h2>Comments !</h2> - <div id="disqus_thread"></div> - <script type="text/javascript"> - var disqus_identifier = "{{ article.url }}"; - (function() { - var dsq = document.createElement('script'); - dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || - document.getElementsByTagName('body')[0]).appendChild(dsq); - })(); - </script> - </div> - {% endif %} - - </article> - </section> -</div> +<section id="content"> + <article> + <header> + <h1> + <a href="{{ pagename }}" + rel="bookmark" + title="Permalink to {{ article.title }}"> + {{ article.title}} + </a> + </h1> {% include 'twitter.html' %} + </header> + <div class="entry-content"> + <div class="well"> + {% include 'article_infos.html' %} + </div> + {{ article.content }} + </div><!-- /.entry-content --> + {% if DISQUS_SITENAME %} + <div class="comments"> + <h2>Comments !</h2> + <div id="disqus_thread"></div> + <script type="text/javascript"> + var disqus_identifier = "{{ article.url }}"; + (function() { + var dsq = document.createElement('script'); + dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || + document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + </div> + {% endif %} + </article> +</section> {% endblock %} |