forked from robur/blog.robur.coop
Merge pull request 'Remove usage of {{ host }} when our only target is https://blog.robur.coop' (#18) from no-host into main
Reviewed-on: robur/blog.robur.coop#18
This commit is contained in:
commit
1918cb3821
4 changed files with 10 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
<a href="{{ host }}/index.html">Back to index</a>
|
<a href="/index.html">Back to index</a>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
<ul class="tags-list">
|
<ul class="tags-list">
|
||||||
{%- for tag in tags -%}
|
{%- for tag in tags -%}
|
||||||
<li><a href="{{ host }}/tags.html#tag-{{ tag }}">{{ tag }}</a></li>
|
<li><a href="/tags.html#tag-{{ tag }}">{{ tag }}</a></li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
{%- autoescape false -%}
|
{%- autoescape false -%}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<a class="small-button rss" href="{{ host }}/feed.xml">RSS</a>
|
<a class="small-button rss" href="/feed.xml">RSS</a>
|
||||||
|
|
||||||
{%- autoescape false -%}
|
{%- autoescape false -%}
|
||||||
{{ yocaml_body }}
|
{{ yocaml_body }}
|
||||||
|
@ -21,12 +21,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<span class="date">{{ article.date.human }}</span>
|
<span class="date">{{ article.date.human }}</span>
|
||||||
<a href="{{ host }}{{ article.url }}">{{ article.title }}</a><br />
|
<a href="/{{ article.url }}">{{ article.title }}</a><br />
|
||||||
<p>{{ article.description }}</p>
|
<p>{{ article.description }}</p>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<ul class="tags-list">
|
<ul class="tags-list">
|
||||||
{%- for tag in article.tags -%}
|
{%- for tag in article.tags -%}
|
||||||
<li><a href="{{ host }}/tags.html#tag-{{ tag }}">{{ tag }}</a></li>
|
<li><a href="/tags.html#tag-{{ tag }}">{{ tag }}</a></li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
Robur's blog{{ dash }}{{ title }}
|
Robur's blog{{ dash }}{{ title }}
|
||||||
</title>
|
</title>
|
||||||
<meta name="description" content="{{ description }}">
|
<meta name="description" content="{{ description }}">
|
||||||
<link type="text/css" rel="stylesheet" href="{{ host }}/css/hl.css">
|
<link type="text/css" rel="stylesheet" href="/css/hl.css">
|
||||||
<link type="text/css" rel="stylesheet" href="{{ host }}/css/style.css">
|
<link type="text/css" rel="stylesheet" href="/css/style.css">
|
||||||
<script src="{{ host }}/js/hl.js"></script>
|
<script src="/js/hl.js"></script>
|
||||||
<link rel="alternate" type="application/rss+xml" href="{{ host }}/feed.xml" title="blog.robur.coop">
|
<link rel="alternate" type="application/rss+xml" href="/feed.xml" title="blog.robur.coop">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul>
|
||||||
{%- for article in tag.articles -%}
|
{%- for article in tag.articles -%}
|
||||||
<li><a href="{{ host }}{{ article.url }}">{{ article.title }}</a></li>
|
<li><a href="/{{ article.url }}">{{ article.title }}</a></li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue