home,hosts
This commit is contained in:
parent
8711e1b020
commit
706a1102a0
2 changed files with 21 additions and 4 deletions
|
@ -16,12 +16,20 @@ AUTHOR_FEED_RSS = None
|
||||||
|
|
||||||
THEME = 'themes/dark'
|
THEME = 'themes/dark'
|
||||||
|
|
||||||
LINKS = (
|
HOME = (
|
||||||
('rwx.work', 'https://rwx.work'),
|
('rwx.work', 'https://rwx.work'),
|
||||||
('marc-beninca.fr', 'https://marc-beninca.fr'),
|
('marc-beninca.fr', 'https://marc-beninca.fr'),
|
||||||
('tilde.link', 'https://tilde.link'),
|
('tilde.link', 'https://tilde.link'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
HOSTS = (
|
||||||
|
('envs.net', 'https://marc.envs.net'),
|
||||||
|
('tilde.team', 'https://marc.tilde.team'),
|
||||||
|
('tildecities.com', 'https://marc.tildecities.com'),
|
||||||
|
('tilde.institute', 'https://marc.tilde.institute'),
|
||||||
|
('remotes.club', 'https://marc.remotes.club'),
|
||||||
|
)
|
||||||
|
|
||||||
SOCIAL = (
|
SOCIAL = (
|
||||||
('LinkedIn', 'https://www.linkedin.com/in/marc-beninca'),
|
('LinkedIn', 'https://www.linkedin.com/in/marc-beninca'),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
{% if LINKS %}
|
|
||||||
<li class="nav-header"><h4><i class="icon-external-link"></i>https://</h4></li>
|
{% if HOME %}
|
||||||
{% for name, link in LINKS %}
|
<li class="nav-header"><h4><i class="icon-external-link"></i>home</h4></li>
|
||||||
|
{% for name, link in HOME %}
|
||||||
<li><a href="{{ link }}"><i class="icon-external-link"></i>{{ name }}</a></li>
|
<li><a href="{{ link }}"><i class="icon-external-link"></i>{{ name }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if HOSTS %}
|
||||||
|
<li class="nav-header"><h4><i class="icon-external-link"></i>hosts</h4></li>
|
||||||
|
{% for name, link in HOSTS %}
|
||||||
|
<li><a href="{{ link }}"><i class="icon-external-link"></i>{{ name }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if SOCIAL %}
|
{% if SOCIAL %}
|
||||||
<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
|
<li class="nav-header"><h4><i class="icon-home icon-large"></i> social</h4></li>
|
||||||
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
|
<li><a href="{{ SITEURL }}/{{ FEED }}" rel="alternate"><i class="icon-bookmark icon-large"></i>atom feed</a></li>
|
||||||
|
|
Loading…
Reference in a new issue