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'
|
||||
|
||||
LINKS = (
|
||||
HOME = (
|
||||
('rwx.work', 'https://rwx.work'),
|
||||
('marc-beninca.fr', 'https://marc-beninca.fr'),
|
||||
('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 = (
|
||||
('LinkedIn', 'https://www.linkedin.com/in/marc-beninca'),
|
||||
)
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
<ul class="nav nav-list">
|
||||
{% if LINKS %}
|
||||
<li class="nav-header"><h4><i class="icon-external-link"></i>https://</h4></li>
|
||||
{% for name, link in LINKS %}
|
||||
|
||||
{% if HOME %}
|
||||
<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>
|
||||
{% endfor %}
|
||||
{% 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 %}
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue