diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-04 13:40:21 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-01-05 11:06:20 +0100 |
commit | 1cad4c9044d47c6653d804d7fb58581d92f96cc8 (patch) | |
tree | 9696b75a4288976a00dbfc694090768ac93cdd14 /theme | |
parent | 0c09a00a0b298cbd3bbd0082cc1026e22db9b1c5 (diff) |
Change organisation
Diffstat (limited to 'theme')
30 files changed, 0 insertions, 1056 deletions
diff --git a/theme/Flex b/theme/Flex new file mode 160000 +Subproject cf45bc041258cd2696bb1b9a48f0631f9cf2042 diff --git a/theme/LISEZ-MOI.rst b/theme/LISEZ-MOI.rst deleted file mode 100755 index de7385d..0000000 --- a/theme/LISEZ-MOI.rst +++ /dev/null @@ -1,21 +0,0 @@ -.. -*- rst -*-
-.. -*- coding: utf-8 -*-
-
-Thème « Railroad » pour pelican
-===============================
-
-Description
------------
-
-:Créé le: 14 avril 2013
-:Technologies utilisées: xHTML5, CSS 1-3
-:Couleurs utilisées: Tons chauds (orange, gris sombre)
-:Design extensif: Oui
-:Testé sous: Mozilla Firefox 20.0.1, ELinks 0.12pre5
-:Langue: Français
-:Détails: Voire capture d'écran et source
-
-Présentation
-------------
-
-Thème monocolonne, avec menu de navigation.
diff --git a/theme/screenshot.jpg b/theme/screenshot.jpg Binary files differdeleted file mode 100644 index 3c450b2..0000000 --- a/theme/screenshot.jpg +++ /dev/null diff --git a/theme/static/css/main.css b/theme/static/css/main.css deleted file mode 100755 index 84274fe..0000000 --- a/theme/static/css/main.css +++ /dev/null @@ -1,376 +0,0 @@ -@import url("pygment.css"); -@import url("styles.css"); - -@font-face { - font-style: normal; - font-weight: normal; -} - -header, footer, section, nav { - display: block; -} - -body { - max-width: 700px; - margin: 0; - padding: 0; - color: black; - background : #222; - margin-left: auto; - margin-right: auto; - font-family: Linux Libertine O, Times new Roman, serif; - line-height: 1.6em; -} - -h1, h2, h3, h4, h5, h6 { - margin: 1em 0 .5em 0; - line-height: 1.2; - font-style: normal; - font-weight: normal; - color: #AE4E00; - font-family: "Lucida sans unicode",Lucida,Tahoma,Arial,sans-serif; -} -h1 { - font-size: 1.5em; -} - -h2 { - font-size: 1.3em; - font-weight: bold; - left:20px; -} - -h2.page_title { - padding-left: 10px; - text-decoration: none; - font-size: 1.3em; - color: #AE4E00; - text-transform : capitalize; -} -h3 { - font-size: 1.15em; - margin-left: 5px; - padding-left: 20px; - background: url("../images/arrow.png") no-repeat left bottom; -} -h4 { - font-size: 1em; - margin-left: 30px; -} - -ul, ol { - margin: .75em 0 .75em 32px; - padding: 0; - padding-right: 10px; -} - -.footnote-reference { - position: relative; - font-size: 0.8em; -} - -a.fn-backref { - text-decoration: none; -} - -p { - margin: .75em; -} - - p.caption { - text-align: center; - } - -pre, blockquote { - margin: 0.5em 1em; - border:1px solid #ccc; - background:#eee; - border-left: 3px solid #ae4e00; - overflow:auto; - color: #666666; - line-height: 1.22em; - padding-left: 10px; -} - -pre { - font-size: medium; - overflow:auto; max-width:650px -} - -table { - border: 1px dashed grey; - padding: 0; - margin: 15px 10px; -} - -table.docutils { - border: none; -} - -table.footnote { - margin: 0px; - -} - - table.footnote td { - border: none; - } - - td, th { - margin: 0; - padding: 2px 5px; - border: 1px dotted grey; - } - - tr.field td { - border: none; - } - - tr.field th { - border: none; - width: 9em; - } - - tr.field p { - margin: 0; - margin-bottom: 0.2em; - } - - -hr { - height: 0; - width: 60%; - margin: 15px auto; - color: transparent; - border-bottom: 2px dotted grey; -} - -address { - margin: .75em 0; - font-style: normal; -} - -a { - text-decoration: underline; -} -a:link { - color: inherit; -} -a:visited { - color: inherit; -} -a:hover, a:focus, a:active { - color: slategrey; -} - -a img { - border: none; -} - -em { - font-style: italic; -} -strong { - font-weight: bold; -} - - -.note, .admonition { - margin: 0.5em 1em; - border-left: 1px solid #ae4e00; -} - - -div.admonition-attention { - background-color: #EEE; - border:1px solid #ccc; - border-left: 3px solid #ae4e00; - border-top: 1px solid #ae4e00; -} - - p.admonition-title { - color: #ae4e00; - font-weight: bold; - } - - -div#page { - background : white; - padding: 5px 5px; -} - - - #header>h1 { - left: 20px; - background-color: #323232; - color: #BBBBBB; - letter-spacing: 1px; - font-size: 1.3em; - padding : 0; - - padding-bottom: 15px; - padding-left: 5px; - padding-top: 5px; - - margin-bottom: 0; - margin-top: 0; - } - #header>h1>a { - text-decoration: inherit; - color: inherit; - } - - #header>img { - display: block; - - } - - nav#cssmenu { - padding-top: 2px; - padding-bottom: 2px; - } - - nav#menu a { - display: inline-block; - text-decoration: none; - margin: 2px; - padding: 1px; - border: 1px solid grey; - border-radius: 3px; - font-weight: bold; - color: #222; - } - - nav#menu a:hover, nav#menu a.active { - border: 1px solid black; - color: black; - } - - section#content { - float: left; - line-height: 170%; - margin: 5px; - } - section#content a img { - margin-left: 15px; - } - - section#content img { - max-height: 100%; - } - - section#content table#archives { - border: 0px ; - } - - table#archives td, table#archives td { - border: 0px ; - } - - article.post h2.post_title { - margin: 20px 0 0 0; - padding: 0; - } - - article.post time.meta { - color: #999999; - font-size: small; - } - - article.post details.meta { - margin: 5px 0 0 0; - padding: 0; - } - article.post details.meta p { - margin: 0; - padding: 0; - } - - .post details.meta { - margin: 0; - padding: 2px 3px; - font-size: .8em; - } - - #content a#all_tags { - font-size: 1.8em; - } - #content ul#tag_list { - list-style-type: none; - } - #content dl#archives dt { - margin-left: 40px; - } - #content dl#archives dd { - text-align: center; - } - - #content>nav.pagination { - font-size: 14px; - text-align: center; - } - nav.pagination a { - text-decoration: none; - font-weight: bolder; - } - - footer#footer { - clear:both; - border-top: 1px solid grey; - padding: 5px 20px; - } - -.rtl { - direction:rtl; - unicode-bidi:bidi-override; -} - -.floatleft { float: left; margin: 0px 5px 5px 0px; } -.floatright { float: right; margin: 0px 0px 5px 5px; } - -img.center { - display: block; - margin-left: auto; - margin-right: auto; -} - -#disqus_comments { - text-align: center; -} - -/* BUTTONS */ button{ - margin:0 7px 0 0; - background-color:#f5f5f5; - border:1px solid #dedede; - border-top:1px solid #eee; - border-left:1px solid #eee; font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; - font-size:100%; - line-height:130%; - text-decoration:none; - font-weight:bold; - color:#565656; - cursor:pointer; - padding:5px 10px 6px 7px; /* Links */ -} -button{ - width:auto; - overflow:visible; - padding:4px 10px 3px 7px; /* IE6 */ -} -button[type]{ - padding:5px 10px 5px 7px; /* Firefox */ - line-height:17px; /* Safari */ -} -*:first-child+html button[type]{ - padding:4px 10px 3px 7px; /* IE7 */ -} -button img, .buttons a img{ - margin:0 3px -3px 0 !important; - padding:0; - border:none; - width:16px; - height:16px; -} - - -.clear { clear:both; } diff --git a/theme/static/css/pygment.css b/theme/static/css/pygment.css deleted file mode 100755 index 594b0fa..0000000 --- a/theme/static/css/pygment.css +++ /dev/null @@ -1,205 +0,0 @@ -.hll { -background-color:#FFFFCC; -} -.c { -color:#408090; -font-style:italic; -} -.err { -border:1px solid #FF0000; -} -.k { -color:#007020; -font-weight:bold; -} -.o { -color:#666666; -} -.cm { -color:#408090; -font-style:italic; -} -.cp { -color:#007020; -} -.c1 { -color:#408090; -font-style:italic; -} -.cs { -background-color:#FFF0F0; -color:#408090; -} -.gd { -color:#A00000; -} -.ge { -font-style:italic; -} -.gr { -color:#FF0000; -} -.gh { -color:#000080; -font-weight:bold; -} -.gi { -color:#00A000; -} -.go { -color:#303030; -} -.gp { -color:#C65D09; -font-weight:bold; -} -.gs { -font-weight:bold; -} -.gu { -color:#800080; -font-weight:bold; -} -.gt { -color:#0040D0; -} -.kc { -color:#007020; -font-weight:bold; -} -.kd { -color:#007020; -font-weight:bold; -} -.kn { -color:#007020; -font-weight:bold; -} -.kp { -color:#007020; -} -.kr { -color:#007020; -font-weight:bold; -} -.kt { -color:#902000; -} -.m { -color:#208050; -} -.s { -color:#4070A0; -} -.na { -color:#4070A0; -} -.nb { -color:#007020; -} -.nc { -color:#0E84B5; -font-weight:bold; -} -.no { -color:#60ADD5; -} -.nd { -color:#555555; -font-weight:bold; -} -.ni { -color:#D55537; -font-weight:bold; -} -.ne { -color:#007020; -} -.nf { -color:#06287E; -} -.nl { -color:#002070; -font-weight:bold; -} -.nn { -color:#0E84B5; -font-weight:bold; -} -.nt { -color:#062873; -font-weight:bold; -} -.nv { -color:#BB60D5; -} -.ow { -color:#007020; -font-weight:bold; -} -.w { -color:#BBBBBB; -} -.mf { -color:#208050; -} -.mh { -color:#208050; -} -.mi { -color:#208050; -} -.mo { -color:#208050; -} -.sb { -color:#4070A0; -} -.sc { -color:#4070A0; -} -.sd { -color:#4070A0; -font-style:italic; -} -.s2 { -color:#4070A0; -} -.se { -color:#4070A0; -font-weight:bold; -} -.sh { -color:#4070A0; -} -.si { -color:#70A0D0; -font-style:italic; -} -.sx { -color:#C65D09; -} -.sr { -color:#235388; -} -.s1 { -color:#4070A0; -} -.ss { -color:#517918; -} -.bp { -color:#007020; -} -.vc { -color:#BB60D5; -} -.vg { -color:#BB60D5; -} -.vi { -color:#BB60D5; -} -.il { -color:#208050; -} diff --git a/theme/static/css/styles.css b/theme/static/css/styles.css deleted file mode 100755 index b677fb4..0000000 --- a/theme/static/css/styles.css +++ /dev/null @@ -1,69 +0,0 @@ -#cssmenu ul, #cssmenu hr { margin: 0px; } -#cssmenu hr { margin: auto; } -#cssmenu { - height:39px; - display:block; - padding:0; - border-color:#000; -} -#cssmenu > ul {list-style:inside none; padding:0; margin:0;} -#cssmenu > ul > li {list-style:inside none; padding:0; margin:0; float:left; display:block; position:relative;} - -#cssmenu > ul > li > span { - outline:none; - display:block; - position:relative; - padding:13px 20px; - font: 13px/100% Arial, Helvetica, sans-serif; text-align:center; - height: 13px; - border-right:1px solid #000; - color:#fff; -} - -#cssmenu a { - color: #fff; -} -#cssmenu > ul > li > span > a { - text-decoration:underline; -} - -#cssmenu > ul > li > span:after { - content:''; - position:absolute; - border-right:1px solid; - top:1px; bottom:0px; - right:-2px; - z-index:99; - border-color: #444; -} - -#cssmenu ul li.has-sub:hover > span:after {top:0; bottom:0;} -#cssmenu > ul > li.has-sub > span:before { - content:''; - position:absolute; - top:19px; right:6px; - border:5px solid transparent; - border-top:5px solid #fff; -} - -#cssmenu > ul > li.has-sub:hover > span:before {top:19px;} -#cssmenu ul li.has-sub:hover > span { background:#3f3f3f; padding-bottom:13px; padding-top:13px; top:0px; z-index:999; } -#cssmenu ul li.has-sub:hover > ul, #cssmenu ul li.has-sub:hover > div{display:block;} -#cssmenu ul li.has-sub > a:hover {background:#3f3f3f; border-color:#3f3f3f;} - -#cssmenu ul li > ul, #cssmenu ul li > div { - display:none; width:auto; position:absolute; - top:39px; padding:10px 0; background:#3f3f3f; - border-radius:0 0 5px 5px; - z-index:999; -} - -#cssmenu ul li > ul{width:200px;} -#cssmenu ul li > ul li{display:block; list-style:inside none; padding:0; margin:0; position:relative;} -#cssmenu ul li > ul li a{ - outline:none; display:block; position:relative; margin:0; - padding:8px 20px; font:10pt Arial, Helvetica, sans-serif; - text-decoration:none; -} - -#cssmenu, #cssmenu > ul > li > ul > li a:hover { background-color:#323232; } diff --git a/theme/static/images/arrow.png b/theme/static/images/arrow.png Binary files differdeleted file mode 100644 index e42bdda..0000000 --- a/theme/static/images/arrow.png +++ /dev/null diff --git a/theme/static/images/atom.jpg b/theme/static/images/atom.jpg Binary files differdeleted file mode 100755 index 89dd169..0000000 --- a/theme/static/images/atom.jpg +++ /dev/null diff --git a/theme/static/images/atom.png b/theme/static/images/atom.png Binary files differdeleted file mode 100755 index 15611d1..0000000 --- a/theme/static/images/atom.png +++ /dev/null diff --git a/theme/static/images/header.jpg b/theme/static/images/header.jpg Binary files differdeleted file mode 100755 index 52b2ddb..0000000 --- a/theme/static/images/header.jpg +++ /dev/null diff --git a/theme/static/images/header.xcf b/theme/static/images/header.xcf Binary files differdeleted file mode 100644 index 38b6a6b..0000000 --- a/theme/static/images/header.xcf +++ /dev/null diff --git a/theme/static/images/rss.jpg b/theme/static/images/rss.jpg Binary files differdeleted file mode 100755 index f91d8ec..0000000 --- a/theme/static/images/rss.jpg +++ /dev/null diff --git a/theme/static/images/rss.png b/theme/static/images/rss.png Binary files differdeleted file mode 100755 index 1ac38dd..0000000 --- a/theme/static/images/rss.png +++ /dev/null diff --git a/theme/templates/abstract.html b/theme/templates/abstract.html deleted file mode 100644 index d8fa523..0000000 --- a/theme/templates/abstract.html +++ /dev/null @@ -1,27 +0,0 @@ -{% macro abstract(title_level) %} - {% for article in (articles_page.object_list if articles_page else articles) %} - <article class="post"> - <{{title_level}} class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{article.title }}</a></{{title_level}}> - - - <time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time> - <section class="post_content"> - - {% if article.logo %} - <div class="floatleft figure"> - <img src="{{ SITEURL }}/{{article.logo}}" style="max-width: 75px"> - </div> - {% endif %} - - {{ article.summary }} - <div class="floatright"> - <a href="{{ SITEURL }}/{{ article.url}}">lire la suite</a> - </div> - <div class="clear" /> - </section> - </article> - - {% endfor %} - - {% include 'navigator.html' %} -{% endmacro %} diff --git a/theme/templates/archives.html b/theme/templates/archives.html deleted file mode 100755 index f0441d9..0000000 --- a/theme/templates/archives.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{%block title %}{{ SITENAME }} - Archives{%endblock%} - -{% block content %} - <h1 class="page_title">Archives</h1> - <table id="archives"> - <tbody> - {% for article in dates %} - <tr> - <td>{{ article.date.date() }}</td> - <td><a href='{{ article.url }}'>{{ article.title }}</a></td> - </tr> - {% endfor %} - </tbody> - </table> -{% endblock %} diff --git a/theme/templates/article.html b/theme/templates/article.html deleted file mode 100755 index c9bb63c..0000000 --- a/theme/templates/article.html +++ /dev/null @@ -1,87 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - {{ article.title |striptags }}{% endblock %} - -{% block content %} - <article class="post"> - <h1 class="page_title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1> - {%include 'meta.html'%} - {% import 'translations.html' as translations with context %} - {{ translations.translations_for(article) }} - - - <section class="post_content"> - {{ article.content }} - </section> - - </article> - - {% if article.related_posts and article.related_posts %} - <div class="clear" /> - - <h2>À lire aussi :</h2> - - <ul> - {% for related_post in article.related_posts %} - <li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li> - {% endfor %} - </ul> - {% endif %} - - - {% if DISQUS_SITENAME %} - - <div class="comments"> - <h2>Commentaires :</h2> - <div id="disqus_thread"> - {% if article.disqus_comments %} - <ul class="post-list"> - {% for comment in article.disqus_comments recursive %} - <li class="post"> - <div class="post-content"> - <div class="avatar hovercard"> - <img alt="Avatar" src="{{ comment.author.avatar.small.cache }}"> - </div> - <div class="post-body"> - <header> - <span class="publisher-anchor-color">{{ comment.author.name }}</span> - <span class="time-ago" title="{{ comment.createdAt }}">{{ comment.createdAt }}</span> - </header> - <div class="post-message-container"> - <div class="post-message publisher-anchor-color "> - {{ comment.message }} - </div> - </div> - </div> - </div> - {% if comment.children %} - <ul class="children"> - {{ loop(comment.children) }} - </ul> - {% endif %} - </li> - {% endfor %} - </ul> - {% else %} - Aucun commentaire pour l'instant. - {% endif %} - </div> - </div> - <div id="disqus_comments"> - <button onclick="load_disqus()">recharger</button> - </div> - <script type="text/javascript"> - var disqus_identifier = "{{ article.url }}"; - function load_disqus() { - var dsq = document.createElement('script'); - dsq.type = 'text/javascript'; - dsq.async = true; - dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - var load_button = document.getElementById('disqus_comments'); - load_button.parentNode.removeChild(load_button); - }; - </script> - {% endif %} - -{% endblock %} diff --git a/theme/templates/author.html b/theme/templates/author.html deleted file mode 100755 index 0b37290..0000000 --- a/theme/templates/author.html +++ /dev/null @@ -1,2 +0,0 @@ -{% extends "index.html" %} -{% block title %}{{ SITENAME }} - {{ author }}{% endblock %} diff --git a/theme/templates/authors.html b/theme/templates/authors.html deleted file mode 100755 index e69de29..0000000 --- a/theme/templates/authors.html +++ /dev/null diff --git a/theme/templates/base.html b/theme/templates/base.html deleted file mode 100755 index 6f44bb4..0000000 --- a/theme/templates/base.html +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html> -<html lang="{{ DEFAULT_LANG }}" xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>{% block title %}{{ SITENAME }}{%endblock%}</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <link rel="stylesheet" href="/theme/css/{{ CSS_FILE }}" type="text/css" /> - <link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" /> - {% if tag %} - {% if TAG_FEED_ATOM %} - <link href="{{ SITEURL }}/{{ TAG_FEED_ATOM.format(slug = tag|e|lower) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ tag|e }} - Flux ATOM" /> - {% endif %} - {% if TAG_FEED_RSS %} - <link href="{{ SITEURL }}/{{ TAG_FEED_RSS.format(slug = tag|e|lower) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ tag }} - Flux RSS" /> - {% endif %} - {% endif %} - {% if category %} - {% if CATEGORY_FEED_ATOM %} - <link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM.format(slug = category|lower) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux ATOM" /> - {% endif %} - {% if CATEGORY_FEED_RSS %} - <link href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS.format(slug = category|lower) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} » {{ category|e }} - Flux RSS" /> - {% endif %} - {% endif %} - - {% if GOOGLE_ANALYTICS %} - <script type="text/javascript"> - var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); - document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); - </script> - <script type="text/javascript"> - try { - var pageTracker = _gat._getTracker("{{GOOGLE_ANALYTICS}}"); - pageTracker._trackPageview(); - } catch(err) {}</script> - {% endif %} -</head> -<body> -<div id="page"> - -{% include 'header.html' %} -{% include 'menu.html' %} - - <section id="content"> -{% block content %} -{% endblock %} - </section> <!-- /#content --> - - <footer id="footer"> - <p>Propulsé par <a href="http://getpelican.com/">Pelican</a>.</p> - </footer> -</div> <!-- /#page --> -</body> -</html> diff --git a/theme/templates/categories.html b/theme/templates/categories.html deleted file mode 100755 index b63eef8..0000000 --- a/theme/templates/categories.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Catégories{% endblock %} - -{% block content %} -<h2 class="page_title">Liste des catégories</h2> -<ul> -{% for category, articles in categories %} - <li> - <a href="{{ category.url }}">{{ category }}</a> ({{ articles|count }}) - {% if CATEGORY_FEED_RSS %} - <a href="{{ SITEURL }}/{{ CATEGORY_FEED_RSS.format(slug=category) }}" ><img src="theme/images/rss.png" /></a> - {% endif %} - </li> -{% endfor %} -</ul> -{% endblock %} diff --git a/theme/templates/category.html b/theme/templates/category.html deleted file mode 100755 index f00be70..0000000 --- a/theme/templates/category.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} - -{% block content %} - <h1 class="page_title">Articles dans la catégorie « {{ category }} »</h1> - {% if articles %} - {% import 'abstract.html' as abstract with context %} - {{ abstract.abstract("h2") }} - {% endif %} - -{% endblock %} diff --git a/theme/templates/header.html b/theme/templates/header.html deleted file mode 100755 index eaf9531..0000000 --- a/theme/templates/header.html +++ /dev/null @@ -1,4 +0,0 @@ -<header id="header"> - <h1><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></h1> - <img src="/theme/images/header.jpg" width="100%"/> -</header> diff --git a/theme/templates/index.html b/theme/templates/index.html deleted file mode 100755 index e35bb04..0000000 --- a/theme/templates/index.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ SITENAME }} - Accueil{% endblock %} - -{% block content %} - - {% if articles %} - {% import 'abstract.html' as abstract with context %} - {{ abstract.abstract("h1") }} - {% endif %} - - {% if FEED_RSS %} - <a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" ><img src="../theme/images/rss.png" /></a> - {% endif %} - - {% if FEED_ATOM %} - <a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" ><img src="../theme/images/atom.png" /></a> - {% endif %} - -{% endblock %} diff --git a/theme/templates/menu.html b/theme/templates/menu.html deleted file mode 100755 index 28bc1e7..0000000 --- a/theme/templates/menu.html +++ /dev/null @@ -1,65 +0,0 @@ -{% macro submenu(elements, link, name) -%} - {% if elements %} - <li class='has-sub'><span><a href="{{ SITEURL }}/{{link}}.html">{{name}}</a></span> - <ul> - {% for tag, articles in elements %} - <li><a href="{{SITEURL}}/{{tag.url}}"><span>{{ tag }}</span></a></li> - {% endfor %} - </ul> - </li> - {% endif %} -{%- endmacro %} - -<div id="cssmenu"> -<ul> - <li class='has-sub'><span><a href="{{ SITEURL }}/">Articles</a></span> - <ul> - {% for article in articles %}{% if loop.index <= FEED_MAX_ITEMS %} - <li><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></li> - {% endif %}{% endfor %} - <hr/> - <li><a href="{{ SITEURL }}/archives.html">Archives</a> - </ul> - </li> - - {{ submenu(categories, 'categories', 'Catégories') }} - - {% if pages %} - <li class='has-sub'><span>À lire</span> - <ul> - {% for page in pages %} - <li><a href="{{SITEURL}}/{{page.url}}"><span>{{ page.title }}</span></a></li> - {% endfor %} - {% if pages and LINKS %} - <hr/> - {% endif %} - {% for link, target in LINKS %} - <li><a href="{{target}}"><span>{{ link }}</span></a></li> - {% endfor %} - </ul> - </li> - {% endif %} - - -{# - {% if FEED or FEED_RSS %} - <li class='has-sub'><a href="{{ SITEURL }}/#">S'abonner</a> - <ul> - {% if FEED %} - <li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate">Flux ATOM</a></li> - {% endif %} - {% if FEED_RSS %} - <li><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">Flux RSS</a></li> - {% endif %} - - {% if categories %} - {% for category, articles in categories %} - <li><a href="{{SITEURL}}/{{CATEGORY_FEED_ATOM % (category)}}"><span>{{ category }}</span></a></li>{% endfor %} - {% endif %} - </ul> - </li> - {% endif %} -#} - -</ul> -</div> diff --git a/theme/templates/meta.html b/theme/templates/meta.html deleted file mode 100755 index 287f6b2..0000000 --- a/theme/templates/meta.html +++ /dev/null @@ -1,12 +0,0 @@ -<details class="meta"> - Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time> -{# {% if article.author %} par {{ article.author }}{% endif %} #} - dans - « <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> ». - {% if article.tags %} - Mots-clefs : - {% for tag in article.tags %}{%if loop.index > 1%},{%endif%} - <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %} - </p> - {% endif %} -</details> diff --git a/theme/templates/navigator.html b/theme/templates/navigator.html deleted file mode 100755 index 555dda5..0000000 --- a/theme/templates/navigator.html +++ /dev/null @@ -1,15 +0,0 @@ -{% if articles_page %} - <nav class="pagination"> - {% if articles_page.has_previous() %} - {% if articles_page.previous_page_number() == 1 %} - <a href="{{ SITEURL }}/{{ page_name }}.html"><<</a> - {% else %} - <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html"><<</a> - {% endif %} - {% endif %} - Page {{ articles_page.number }} sur {{ articles_paginator.num_pages }} - {% if articles_page.has_next() %} - <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">>></a> - {% endif %} - </nav> -{% endif%} diff --git a/theme/templates/page.html b/theme/templates/page.html deleted file mode 100755 index 114daea..0000000 --- a/theme/templates/page.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ page.title | striptags }}{% endblock %} -{% block content %} - <h1 class="page_title"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></h1> - {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get - the pdf</a>{% endif %} - - <section class="page_content"> - {{ page.content }} - </section> - -{% endblock %} diff --git a/theme/templates/tag.html b/theme/templates/tag.html deleted file mode 100755 index dbe2d82..0000000 --- a/theme/templates/tag.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} - -{% block content %} - <h1 class="page_title">Articles avec le mot-clef « {{ tag }} »</h1> - {% if articles %} - {% import 'abstract.html' as abstract with context %} - {{ abstract.abstract("h2") }} - {% endif %} - - {% if TAG_FEED_RSS %} - <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS.format(slug = page_name|replace("tag/", "")|e|lower)}}" ><img src="../theme/images/rss.png" /></a> - {% endif %} - - {% if TAG_FEED_ATOM %} - <a href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM.format(slug = page_name|replace("tag/", "")|e|lower)}}" ><img src="../theme/images/atom.png" /></a> - {% endif %} - - {% endblock %} diff --git a/theme/templates/tags.html b/theme/templates/tags.html deleted file mode 100755 index 7193694..0000000 --- a/theme/templates/tags.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ SITENAME }} - Mots-clés{% endblock %} - -{% block content %} -<h2 class="page_title">Liste des mots-clefs</h2> -<ul id="tag_list"> -{% for tag, articles in tags %} -<li><a href="{{SITEURL}}/{{tag.url}}">{{ tag }}</a> ({{ articles|count }}) -</li> -{% endfor %} -</ul> -{% endblock %} diff --git a/theme/templates/translations.html b/theme/templates/translations.html deleted file mode 100644 index 121ff1a..0000000 --- a/theme/templates/translations.html +++ /dev/null @@ -1,10 +0,0 @@ -{% macro translations_for(article) %} -{% if article.translations %} -<details class="meta"> -Traductions : -{% for translation in article.translations %} -<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a> -{% endfor %} -</details> -{% endif %} -{% endmacro %} |