Switch from {{site.url}} to {{ relative }}

This commit is contained in:
rubenwardy 2014-12-12 09:12:13 +00:00
parent b4eea39134
commit d247d1c0ac

View File

@ -3,13 +3,13 @@
<head>
<title>{% if page.title != "Minetest Tutorials and Documentation" %}{{ page.title }} - {% endif %}Minetest Tutorials and Documentation</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{{ site.url }}/static/style.css">
<link rel="stylesheet" href="{{ site.url }}/static/syntax.css">
<link rel="stylesheet" href="{{ relative }}/static/style.css">
<link rel="stylesheet" href="{{ relative }}/static/syntax.css">
</head>
<body>
<ul id="navbar">
<li><a href="{{ site.url }}/" class="title">Minetest Tutorials</a></li>
<li><a href="{{ site.url }}/folders">1 - Folder Structure</a></li>
<li><a href="{{ relative }}/" class="title">Minetest Tutorials</a></li>
<li><a href="{{ relative }}/folders">1 - Folder Structure</a></li>
</ul>
<div id="page">
<h1>{{ page.title }}</h1>