This commit is contained in:
Marc Beninca 2020-04-12 03:44:19 +02:00
parent 93369efa77
commit 1799b81948
2 changed files with 12 additions and 13 deletions

View file

@ -16,12 +16,6 @@ AUTHOR_FEED_RSS = None
THEME = 'themes/dark'
HOME = (
('rwx.work', 'https://rwx.work'),
('marc-beninca.fr', 'https://marc-beninca.fr'),
('tilde.link', 'https://tilde.link'),
)
HOSTS = (
('rwx.work', 'https://blog.rwx.work'),
('envs.net', 'https://marc.envs.net'),
@ -31,6 +25,11 @@ HOSTS = (
('remotes.club', 'https://marc.remotes.club'),
)
SITES = (
('rwx.work', 'https://rwx.work'),
('marc-beninca.fr', 'https://marc-beninca.fr'),
)
SOCIAL = (
('linkedin', 'https://www.linkedin.com/in/marc-beninca'),
)

View file

@ -1,12 +1,5 @@
<ul class="nav nav-list">
{% if HOME %}
<li class="nav-header"><h4><i class="icon-home"></i>home</h4></li>
{% for name, link in HOME %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
{% endif %}
{% if HOSTS %}
<li class="nav-header"><h4><i class="icon-external-link"></i>hosts</h4></li>
{% for name, link in HOSTS %}
@ -14,6 +7,13 @@
{% endfor %}
{% endif %}
{% if SITES %}
<li class="nav-header"><h4><i class="icon-home"></i>sites</h4></li>
{% for name, link in SITES %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
{% endif %}
{% if SOCIAL %}
<li class="nav-header"><h4><i class="icon-user"></i>social</h4></li>
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>