theme fixes - and use url filter to allow non root folder deploying
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% if title %}{{ title }} — {% 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 }}
|
||||
|
||||
Reference in New Issue
Block a user