diff options
author | m-r-r <raybaudroigm@gmail.com> | 2012-04-07 19:36:03 +0200 |
---|---|---|
committer | m-r-r <raybaudroigm@gmail.com> | 2012-04-07 19:36:03 +0200 |
commit | 261797ff47d96c47c3364110c100bf64701f7da5 (patch) | |
tree | 3242dd2ba40c67387cd5ac646d7831522eaad86b /dev-random/templates/article.html | |
parent | a006f0a70f9e432908d97bd9ecdb37e4b8f5d328 (diff) | |
download | pelican-themes-261797ff47d96c47c3364110c100bf64701f7da5.tar.gz |
Added the dev-random theme
Diffstat (limited to 'dev-random/templates/article.html')
-rw-r--r-- | dev-random/templates/article.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-random/templates/article.html b/dev-random/templates/article.html new file mode 100644 index 0000000..d85c7c5 --- /dev/null +++ b/dev-random/templates/article.html @@ -0,0 +1,57 @@ +{% extends "base.html" %} + +{% block headers %} + {{ super() }} + <meta name="author" content="{{ article.author }}" /> + <meta name="keywords" content="{{ articles.tags|join(' ')}}" /> +{% endblock %} + +{% block title %}{{ article.title }} — {{ super() }}{% endblock %} + +{%- block content %} + <article class="post" id="page-content"> + <header class="post-header"> + <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate"> + {{ article.locale_date }} + </time> + <h1> + <a rel="bookmark" + href="{{ SITEURL }}/{{ article.url }}" + title="Lien permanent vers «{{ article.title }}»"> + {{ article.title }} + </a> + </h1> + <div class="meta"> + Dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>» + par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a> + </div> + </header> + <div class="post-content"> + {{ article.content}} + </div> + <footer class="post-footer"> + <div class="meta"> + Posté dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>» + par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a><br /> + Mots-clés: {% for tag in article.tags %} #<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %} + </div> + </footer> + {% if DISQUS_SITENAME %} + <hr /> + <div id="disqus_thread"></div> + <script type="text/javascript"> + /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ + var disqus_shortname = '{{ DISQUS_SITENAME }}'; // required: replace example with your forum shortname + + /* * * DON'T EDIT BELOW THIS LINE * * */ + (function() { + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + })(); + </script> + <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> + <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> + {% endif %} + </article> +{% endblock content -%} |