2014-12-11 11:56:37 +03:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2015-02-04 11:50:51 +03:00
|
|
|
<title>{% if page.title != "Introduction" %}{{ page.title }} - {% endif %}Minetest Modding Book</title>
|
2015-02-09 12:01:40 +03:00
|
|
|
<meta charset="UTF-8">
|
2015-02-06 22:16:14 +03:00
|
|
|
<meta name="viewport" content="width=device-width">
|
2015-02-09 11:59:21 +03:00
|
|
|
<meta name="description" content="An easy guide to learn how to create mods for Minetest">
|
|
|
|
<meta name="keywords" content="Minetest, modding, book, tutorial, guide, easy">
|
|
|
|
<meta name="author" content="rubenwardy">
|
2014-12-11 11:56:37 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-08-26 18:40:30 +03:00
|
|
|
{% assign pathsplit = page.dir | split: '/' %}
|
|
|
|
{% assign language = pathsplit[1] %}
|
|
|
|
|
|
|
|
{% if language == "en" %}
|
|
|
|
{% assign links = site.data.links_en %}
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
{% assign language = "en" %}
|
|
|
|
{% assign links = site.data.links_en %}
|
|
|
|
{% endif %}
|
|
|
|
|
2014-12-11 11:56:37 +03:00
|
|
|
<ul id="navbar">
|
2017-08-26 18:40:30 +03:00
|
|
|
{% for link in links %}
|
|
|
|
{% if link.hr %}
|
|
|
|
{% assign hr = true %}
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{ page.root }}{{ language }}/{{ link.link }}"
|
|
|
|
class="{% if page.title == link.title %}selected{% endif %}{% if hr %} hr {% endif %}">
|
|
|
|
{% if link.num %} {{ link.num }} - {% endif %}
|
|
|
|
{{ link.title }}</a></li>
|
|
|
|
{% assign hr = false %}
|
|
|
|
{% endif %}
|
2014-12-31 19:43:27 +03:00
|
|
|
{% endfor %}
|
2017-08-26 18:40:30 +03:00
|
|
|
|
|
|
|
<li><a href="{{ page.root }}lua_api.html">Lua Modding API Reference</a></li>
|
2017-04-17 19:44:19 +03:00
|
|
|
<li><a href="https://github.com/rubenwardy/minetest_modding_book/archive/examples.zip">Download Examples</a></li>
|
2014-12-11 11:56:37 +03:00
|
|
|
</ul>
|
2017-08-26 18:40:30 +03:00
|
|
|
|
2014-12-11 11:56:37 +03:00
|
|
|
<div id="page">
|
2014-12-11 22:38:46 +03:00
|
|
|
<h1>{{ page.title }}</h1>
|