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>
|
||||
<h1>{{ title }}</h1>
|
||||
<ul class="tags-list">
|
||||
{%- 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 -%}
|
||||
</ul>
|
||||
{%- 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 -%}
|
||||
{{ yocaml_body }}
|
||||
|
@ -21,12 +21,12 @@
|
|||
</div>
|
||||
<div class="content">
|
||||
<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>
|
||||
<div class="bottom">
|
||||
<ul class="tags-list">
|
||||
{%- 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 -%}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
Robur's blog{{ dash }}{{ title }}
|
||||
</title>
|
||||
<meta name="description" content="{{ description }}">
|
||||
<link type="text/css" rel="stylesheet" href="{{ host }}/css/hl.css">
|
||||
<link type="text/css" rel="stylesheet" href="{{ host }}/css/style.css">
|
||||
<script src="{{ host }}/js/hl.js"></script>
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ host }}/feed.xml" title="blog.robur.coop">
|
||||
<link type="text/css" rel="stylesheet" href="/css/hl.css">
|
||||
<link type="text/css" rel="stylesheet" href="/css/style.css">
|
||||
<script src="/js/hl.js"></script>
|
||||
<link rel="alternate" type="application/rss+xml" href="/feed.xml" title="blog.robur.coop">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</h3>
|
||||
<ul>
|
||||
{%- 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 -%}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue