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">
|
2017-08-27 21:40:05 +03:00
|
|
|
<style>#navbar,#page{position:absolute;top:0}#navbar,#navbar li{margin:0;padding:0;display:block}body,html{background:#333;font-family:Arial,sans-serif}#container{width:100%;max-width:1100px;margin:auto;position:relative}#page{background:#fff;margin:0;padding:0 20px 20px;left:250px;right:0}#navbar{left:0;width:250px;list-style:none;background:#333;color:#fff}#navbar li a{display:block;padding:5px;color:#ccc;text-decoration:none;cursor:pointer}</style>
|
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 %}
|
|
|
|
|
2017-08-27 21:13:56 +03:00
|
|
|
<div id="container">
|
|
|
|
<ul id="navbar">
|
|
|
|
{% 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 %}
|
|
|
|
{% endfor %}
|
2017-08-26 18:40:30 +03:00
|
|
|
|
2017-08-27 21:13:56 +03:00
|
|
|
<li><a href="{{ page.root }}lua_api.html" class="hr">Lua Modding API Reference</a></li>
|
|
|
|
<li><a href="https://github.com/rubenwardy/minetest_modding_book/archive/examples.zip">Download Examples</a></li>
|
|
|
|
</ul>
|
2017-08-26 18:40:30 +03:00
|
|
|
|
2017-08-27 21:13:56 +03:00
|
|
|
<div id="page">
|
|
|
|
<h1>{{ page.title }}</h1>
|