Browse Source

root urls to relative ones

master
manetta 5 years ago
parent
commit
24e7a1f9f4
  1. 22
      3colplus/themes/varia/templates/base.html

22
3colplus/themes/varia/templates/base.html

@ -8,9 +8,9 @@
<link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="{{ SITEURL }}/favicon.ico" type="image/x-icon">
{% from 'syndication.html' import syndication with context %} {% from 'syndication.html' import syndication with context %}
{{ syndication(article) }} {{ syndication(article) }}
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/fork-awesome/css/fork-awesome.min.css" /> <link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}css/fork-awesome/css/fork-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/pygment.css" /> <link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}css/pygment.css" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" /> <link rel="stylesheet" type="text/css" href="{{ THEME_STATIC_DIR }}css/{{ CSS_FILE }}" />
{% endblock head %} {% endblock head %}
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head> </head>
@ -18,11 +18,11 @@
<body id="index" class="home"> <body id="index" class="home">
<div class="buttons top left"> <div class="buttons top left">
{% if DEFAULT_LANG == 'nl' %} {% if DEFAULT_LANG == 'nl' %}
<i class="fa fa-home fa-fw"></i> <a href="/">home</a> <i class="fa fa-home fa-fw"></i> <a href="nl">home</a>
<i class="fa fa-info-circle fa-fw"></i> <a href="/pages/about.html">over</a> <i class="fa fa-info-circle fa-fw"></i> <a href="pages/about.html">over</a>
{% else %} {% else %}
<i class="fa fa-home fa-fw"></i> <a href="/en">home</a> <i class="fa fa-home fa-fw"></i> <a href="en">home</a>
<i class="fa fa-info-circle fa-fw"></i> <a href="/en/pages/about.html">about</a> <i class="fa fa-info-circle fa-fw"></i> <a href="en/pages/about.html">about</a>
{% endif %} {% endif %}
</div> </div>
<div class="buttons top"> <div class="buttons top">
@ -34,8 +34,8 @@
<li><i class="fa fa-envelope "></i> &nbsp;<a href="https://we.lurk.org/postorius/lists/varia.we.lurk.org/" target="_blank">mailinglijst </a></li> <li><i class="fa fa-envelope "></i> &nbsp;<a href="https://we.lurk.org/postorius/lists/varia.we.lurk.org/" target="_blank">mailinglijst </a></li>
<li><i class="fa fa-rss "></i> &nbsp;<a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml">RSS feed </a></li> <li><i class="fa fa-rss "></i> &nbsp;<a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml">RSS feed </a></li>
<!-- <li><a href="#"><i class="fa fa-rss "></i>.ics kalendar</a></li> --> <!-- <li><a href="#"><i class="fa fa-rss "></i>.ics kalendar</a></li> -->
<li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="/">Nederlands</a>{% else %}><a href="/">Nederlands</a>{% endif %}</li> <li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="nl">Nederlands</a>{% else %}><a href="nl">Nederlands</a>{% endif %}</li>
<li{% if DEFAULT_LANG == 'en' %} class="active"><a href="/en/">English</a>{% else %}><a href="/en/">English</a>{% endif %}</li> <li{% if DEFAULT_LANG == 'en' %} class="active"><a href="en/">English</a>{% else %}><a href="en/">English</a>{% endif %}</li>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if DEFAULT_LANG == 'en' %} {% if DEFAULT_LANG == 'en' %}
@ -44,8 +44,8 @@
<li><i class="fa fa-envelope "></i> <a href="https://we.lurk.org/postorius/lists/varia.we.lurk.org/" target="_blank">mailinglist </a></li> <li><i class="fa fa-envelope "></i> <a href="https://we.lurk.org/postorius/lists/varia.we.lurk.org/" target="_blank">mailinglist </a></li>
<li><i class="fa fa-rss "></i> <a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml">RSS feed </a></li> <li><i class="fa fa-rss "></i> <a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml">RSS feed </a></li>
<!-- <li><a href="#"><i class="fa fa-rss "></i>.ics calendar</a></li> --> <!-- <li><a href="#"><i class="fa fa-rss "></i>.ics calendar</a></li> -->
<li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="/">Nederlands</a>{% else %}><a href="/">Nederlands</a>{% endif %}</li> <li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="nl">Nederlands</a>{% else %}><a href="nl">Nederlands</a>{% endif %}</li>
<li{% if DEFAULT_LANG == 'en' %} class="active"><a href="/{{lang}}">English</a>{% else %}><a href="/{{lang}}">English</a>{% endif %}</li> <li{% if DEFAULT_LANG == 'en' %} class="active"><a href="{{lang}}">English</a>{% else %}><a href="{{lang}}">English</a>{% endif %}</li>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save