Browse Source

prepend {{SITEURL}} consistently to links

master
rra 7 years ago
parent
commit
4b382eefef
  1. 4
      theme/wttf/templates/base.html
  2. 4
      theme/wttf/templates/index.html

4
theme/wttf/templates/base.html

@ -4,7 +4,7 @@
{% block head %} {% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title> <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}{{ CSS_FILE }}" /> <link rel="stylesheet" type="text/css" href="{{SITEURL}}/{{ THEME_STATIC_DIR }}{{ CSS_FILE }}" />
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/arima-koshi" type="text/css"/> <link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/arima-koshi" type="text/css"/>
<link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon"> <link rel="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon">
{% if FEED_ALL_ATOM %} {% if FEED_ALL_ATOM %}
@ -41,7 +41,7 @@
Welcome to the Welcome to the
<select onchange="window.location.href=this.value"> <select onchange="window.location.href=this.value">
{%- for t, article in tags|sort %} {%- for t, article in tags|sort %}
<option value="/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option> <option value="{{SITEURL}}/{{ t.url }}" {% if t == tag %}selected{% endif %}>{{ t }}</option>
{% endfor %} {% endfor %}
</select> </select>
Federation Federation

4
theme/wttf/templates/index.html

@ -18,7 +18,7 @@
<span class="entry-tags"> <span class="entry-tags">
{% for tag in article.tags %} {% for tag in article.tags %}
<span itemprop="keywords"> <span itemprop="keywords">
<a href="/{{ tag.url }}" rel="tag">{{ tag }}</a> <a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>
</span> </span>
{% endfor %} {% endfor %}
</span> </span>
@ -62,7 +62,7 @@
<span class="entry-tags"> <span class="entry-tags">
{% for tag in article.tags %} {% for tag in article.tags %}
<span itemprop="keywords"> <span itemprop="keywords">
<a href="/{{ tag.url }}" rel="tag">{{ tag }}</a> <a href="{{ SITEURL }}//{{ tag.url }}" rel="tag">{{ tag }}</a>
</span> </span>
{% endfor %} {% endfor %}
</span> </span>

Loading…
Cancel
Save