draft
This commit is contained in:
parent
0c581ece64
commit
ffeda211d3
3 changed files with 33 additions and 66 deletions
|
@ -1,12 +1,14 @@
|
|||
AUTHOR = 'MSPE'
|
||||
SITENAME = 'RWX work'
|
||||
SITEURL = ''
|
||||
SITESUBTITLE = 'Read Write eXecute'
|
||||
SITEURL = 'https://blog.rwx.work'
|
||||
|
||||
PATH = 'content'
|
||||
|
||||
TIMEZONE = 'Europe/Paris'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
DEFAULT_DATE_FORMAT = '%B %d, %Y'
|
||||
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
|
@ -14,8 +16,14 @@ TRANSLATION_FEED_ATOM = None
|
|||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
RELATIVE_URLS = True
|
||||
|
||||
THEME = 'themes/pelican-striped-html5up'
|
||||
|
||||
STATIC_PATHS = ['images']
|
||||
# PLUGINS = ['neighbors']
|
||||
|
||||
HOSTS = (
|
||||
('rwx.work', 'https://blog.rwx.work'),
|
||||
('envs.net', 'https://mspe.envs.net'),
|
||||
|
@ -72,7 +80,3 @@ SOCIAL = (
|
|||
('linkedin.com', 'https://www.linkedin.com/in/marc-beninca'),
|
||||
('lbry.tv', 'https://lbry.tv/@marc-beninca:d'),
|
||||
)
|
||||
|
||||
DEFAULT_PAGINATION = False
|
||||
|
||||
RELATIVE_URLS = True
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
AUTHOR = ''
|
||||
SITENAME = ''
|
||||
SITESUBTITLE = ''
|
||||
SITEURL = 'localhost'
|
||||
|
||||
PATH = 'content'
|
||||
|
||||
TIMEZONE = 'UTC'
|
||||
|
||||
DEFAULT_LANG = 'en'
|
||||
DEFAULT_DATE_FORMAT = '%B %d, %Y'
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
# Blogroll
|
||||
LINKS = (('Pelican', 'http://getpelican.com/'),
|
||||
('Python.org', 'http://python.org/'),
|
||||
('Jinja2', 'http://jinja.pocoo.org/'),
|
||||
('You can modify those links in your config file', '#'),)
|
||||
|
||||
# Social widget
|
||||
SOCIAL = (('You can add links in your config file', '#'),
|
||||
('Another social link', '#'),)
|
||||
|
||||
DEFAULT_PAGINATION = 10
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
# RELATIVE_URLS = True
|
||||
# THEME = ''
|
||||
STATIC_PATHS = ['images']
|
||||
PLUGINS = ['neighbors']
|
|
@ -43,19 +43,36 @@
|
|||
<div id="sidebar">
|
||||
|
||||
<!-- Logo -->
|
||||
<h1 id="logo"><a href="/">{{ SITENAME }}</a></h1>
|
||||
<h1 id="logo">
|
||||
<a href="/">{{ SITENAME }}</a>
|
||||
</h1>
|
||||
{{ SITESUBTITLE }}
|
||||
<!-- Text -->
|
||||
<section class="box text-style1">
|
||||
<div class="inner">
|
||||
<p>
|
||||
<strong>Ut scelerisque nec sapien ut sollicitudin:</strong><br />{{SITESUBTITLE}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="inner"><ul>
|
||||
{% for text, url in HOSTS %}
|
||||
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></div>
|
||||
<div class="inner"><ul>
|
||||
{% for text, url in SITES %}
|
||||
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></div>
|
||||
<div class="inner"><ul>
|
||||
{% for text, url in GIT %}
|
||||
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></div>
|
||||
<div class="inner"><ul>
|
||||
{% for text, url in SOCIAL %}
|
||||
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></div>
|
||||
</section>
|
||||
<!-- Nav -->
|
||||
<nav id="nav">
|
||||
<ul>
|
||||
|
||||
<li><a href="#">Nam euismod dui</a></li>
|
||||
<li><a href="#">Integer eget eros</a></li>
|
||||
<li><a href="#">Proin vehicula tortor</a></li>
|
||||
|
@ -79,23 +96,8 @@
|
|||
</header>
|
||||
<ul>
|
||||
<li><a class="icon fa-envelope" href="#"> eMail</a></li>
|
||||
<li><a class="icon fa-twitter" href="#"> Twitter</a></li>
|
||||
<li><a class="icon fa-facebook" href="#"> Facebook</a></li>
|
||||
<li><a class="icon fa-github" href="#"> Github</a></li>
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- Copyright -->
|
||||
<ul id="copyright">
|
||||
<li>Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
|
||||
which takes great advantage of <a href="http://python.org">Python</a>.</li>
|
||||
<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
|
||||
<li>Modified under a <a href="https://creativecommons.org/licenses/by/3.0/">CC:BY</a> license.</li>
|
||||
</ul>
|
||||
|
||||
</div><!-- /#menu -->
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue