💄 Edit theme for first release
This commit is contained in:
parent
8a0ffa824c
commit
71ba28ad87
|
@ -8,7 +8,7 @@ DEFAULT_PAGINATION = False
|
|||
PATH = 'content'
|
||||
SITEURL = 'http://127.0.0.1:8000'
|
||||
RELATIVE_URLS = False
|
||||
SITENAME = 'pro.zind'
|
||||
SITENAME = 'pro[zind]'
|
||||
SITE_SOURCE = "https://gitlab.com/free_zed/free_zed.gitlab.io"
|
||||
SITESUBTITLE = "Histoires d'un <foobar> perfectioniste sous pression…"
|
||||
TIMEZONE = 'Europe/Paris'
|
||||
|
@ -23,7 +23,7 @@ AUTHOR_FEED_RSS = None
|
|||
# Blogroll
|
||||
LINKS = (('Archives', '/articles/'),
|
||||
('Tags', '/tags/'),
|
||||
('Mentions légales', '/mentions-legales/'),)
|
||||
('Contact', '/contact/'),)
|
||||
|
||||
# Social widget
|
||||
SOCIAL = (('gitlab', 'https://gitlab.com/free_zed'),
|
||||
|
@ -73,7 +73,7 @@ YEAR_ARCHIVE_SAVE_AS = 'articles/{date:%Y}/index.html'
|
|||
YEAR_ARCHIVE_URL = 'articles/{date:%Y}/'
|
||||
|
||||
# URL of the repo to link build commit
|
||||
REPO_COMMIT_URL = 'http://git.localhost/repo/commit'
|
||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/commit'
|
||||
|
||||
# Max number of tags displayed in achives
|
||||
# Used in template `taglist_sort.html`
|
||||
|
|
|
@ -538,38 +538,6 @@ iframe.twitter-follow-button {
|
|||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/* Disqus comments */
|
||||
|
||||
#disqus_thread {
|
||||
border-top: 4px solid #ddd;
|
||||
margin-top: 50px;
|
||||
}
|
||||
#dsq-content {
|
||||
font-size: 13px !important;
|
||||
}
|
||||
#dsq-content #dsq-global-toolbar, #dsq-content ul.dsq-login-buttons, #dsq-content div.dsq-options,
|
||||
#dsq-content #dsq-comments, #dsq-content #dsq-pagination {
|
||||
margin-bottom: 20px !important;
|
||||
}
|
||||
div.dsq-tooltip-small {
|
||||
width: auto;
|
||||
}
|
||||
#dsq-content ul.dsq-login-buttons {
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
#dsq-comment-count {
|
||||
background: url('/resources/comment.png') no-repeat left top;
|
||||
padding-left: 20px;
|
||||
text-transform: lowercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#dsq-footer a > em {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
a.dsq-brlink {
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
/* Post and project lists */
|
||||
|
||||
#related-posts {
|
||||
|
@ -648,6 +616,17 @@ img.gravatar {
|
|||
padding: 0 10px;
|
||||
}
|
||||
|
||||
body > nav {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body > nav > a {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* =Footer
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
|
|
|
@ -28,8 +28,5 @@
|
|||
</nav>
|
||||
{% endif %}
|
||||
|
||||
{% if DISQUS_SITENAME %}
|
||||
{% include "disqus.html" %}
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</span>
|
||||
{% endif %}
|
||||
{% if article.translations %}
|
||||
| Traductions:
|
||||
| Traductions :
|
||||
{% for translation in article.translations %}
|
||||
<a href="/{{ translation.url }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -31,11 +31,6 @@
|
|||
<a{% if cat == category %} class="active"{% endif %} href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if DISPLAY_PAGES_ON_MENU -%}
|
||||
{% for pg in pages %}
|
||||
<a{% if pg == page %} class="active"{% endif %} href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
@ -44,13 +39,20 @@
|
|||
{% block footnote %}{% endblock footnote %}
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
{% if LINKS %}
|
||||
{% for name, link in LINKS %}
|
||||
<a href="{{ link }}">{{ name }}</a>
|
||||
{% if not loop.last %}
|
||||
•
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</nav>
|
||||
|
||||
<footer>
|
||||
{% include "footer.html" %}
|
||||
</footer>
|
||||
|
||||
{% if JS_HTTPS %}
|
||||
{% include "js_https.html" %}
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<foobar>
|
|
@ -0,0 +1 @@
|
|||
20/01/19
|
|
@ -1,14 +1,18 @@
|
|||
{% if SOCIAL %}
|
||||
{% include 'social.html' %}
|
||||
{% endif %}
|
||||
{% if SOCIAL %}{% include 'social.html' %}{% endif %}
|
||||
|
||||
<a id="cc-logo" rel="licence" title="Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International (CC BY-NC-SA 4.0)" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.fr" target="_blank"></a>
|
||||
|
||||
Powered by <a href="https://blog.getpelican.com"> Pelican</a> using <a href="https://gitlab.com/axil/pelican-uberspot">uberspot theme</a>
|
||||
Site construit le
|
||||
<em>
|
||||
{% include 'date' %} à {% include 'time' %} [UTC]
|
||||
</em>
|
||||
avec le commit
|
||||
<em>
|
||||
<a href="{{ REPO_COMMIT_URL }}/{% include 'commit' %}" title="Lien vers le commit utilisé pour construire cette version du site"><code>{% include 'commit' %}</code></a>
|
||||
</em>
|
||||
•
|
||||
Background image from <a href="https://www.toptal.com/designers/subtlepatterns/">Subtle Patterns</a>
|
||||
|
||||
{% if SITE_SOURCE %}
|
||||
<a href="{{ SITEURL }}/mentions-legales/" title="Mentions légales">Mentions légales</a>
|
||||
<br />
|
||||
Motorisé par <a href="http://getpelican.com/">Pelican</a>, qui tire grand avantage de <a href="http://python.org">Python</a>
|
||||
•
|
||||
<a href="{{ SITE_SOURCE }}" title="Source code">Source code</a>
|
||||
{% endif %}
|
||||
Image de fond par <a href="https://www.toptal.com/designers/subtlepatterns/">Subtle Patterns</a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Notes récentes</h2>
|
||||
<h2>Dernières publications</h2>
|
||||
<ul class="post-list">
|
||||
|
||||
{% if articles %}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{% if DOMAIN %}
|
||||
<script type="text/javascript">
|
||||
// Redirect to https with javascript
|
||||
var host = "{{ DOMAIN }}";
|
||||
if ((host == window.location.host) && (window.location.protocol != 'https:')) {
|
||||
window.location = window.location.toString().replace(/^http:/, "https:");
|
||||
}
|
||||
</script>
|
||||
{% endif %}
|
|
@ -1,11 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ page.title|striptags }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<header>
|
||||
<h1><a href="/{{ page.url }}" rel="bookmark">{{ page.title|striptags }}</a></h1>
|
||||
{% if page.translations %}
|
||||
<p>Traductions:
|
||||
{% for translation in page.translations %}
|
||||
<a href="/{{ translation.url }}">[{{ translation.lang }}]</a>
|
||||
{% if not loop.last %}
|
||||
•
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
<div class="body">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
22:11:50
|
Loading…
Reference in New Issue