Browse Source

prepend {{SITEURL}} consistently to links

master
rra 6 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 %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
<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="icon" href="{{ SITEURL}}/favicon.ico" type="image/x-icon">
{% if FEED_ALL_ATOM %}
@ -41,7 +41,7 @@
Welcome to the
<select onchange="window.location.href=this.value">
{%- 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 %}
</select>
Federation

4
theme/wttf/templates/index.html

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

Loading…
Cancel
Save