theme fixes - and use url filter to allow non root folder deploying

This commit is contained in:
Nick Stokoe
2023-05-09 15:42:26 +01:00
parent 5ebd808a20
commit 0f5d81e59f
2 changed files with 8 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %}{{ title }} &mdash; {% endif %}{{ site.title }}</title>
<link href="{{ '/assets/css/style.css' }}" rel="stylesheet">
<link href="{{ '/assets/css/style.css' | url }}" rel="stylesheet">
</head>
<body>
<div class="container">
@@ -15,7 +15,7 @@
<h1>{{ title }}</h1>
<ul class="images">
{% for image in images %}
<li><img src="../../images/{{ image }}"></li>
<li><img src="{{ [ '../../images/', image ] | join | url }}"></li>
{% endfor %}
</ul>
{{ content | safe }}