lsyncd/_layouts/default.html

44 lines
1.1 KiB
HTML
Raw Normal View History

2016-06-01 07:32:30 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }}</title>
<!-- link to main stylesheet -->
2016-06-05 17:36:52 +00:00
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/main.css">
2016-06-01 07:32:30 +00:00
</head>
<body>
2016-06-05 17:30:10 +00:00
<div id="pillar">
2016-06-01 07:32:30 +00:00
<nav>
2016-06-05 17:30:10 +00:00
{% for section in site.data.docs %}
<h4>{{section.title}}</h4>
<ul>
{% for doc in section.docs %}
2016-06-05 17:40:00 +00:00
{% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend: "/" | append:"/" %}
2016-06-05 17:30:10 +00:00
{% assign p = site.pages | where:"url", doc_url | first %}
{% if page.tab %}
{% assign tab = page.tab | prepend:"/" | append:"/" %}
{% endif %}
{% if p.short %}
{% assign title = p.short %}
{% else %}
{% assign title = p.title %}
{% endif %}
2016-06-05 17:40:00 +00:00
<li><a {% if doc_url == page.url or doc_url == tab %}class="current"{% endif %} href="{{ site.url + p.url }}">{{ title }}</a></li>
2016-06-05 17:30:10 +00:00
{% endfor %}
</ul>
{% endfor %}
2016-06-01 07:32:30 +00:00
</nav>
2016-06-05 17:30:10 +00:00
<div id="container">
<h1>{{ page.title }}</h1>
2016-06-01 07:32:30 +00:00
{{ content }}
2016-06-05 17:30:10 +00:00
</div>
2016-06-01 07:32:30 +00:00
2016-06-05 17:30:10 +00:00
</div>
<!--footer>
2016-06-01 07:32:30 +00:00
<ul>
<li><a href="https://github.com/lsyncd">github.com/lsyncd</a></li>
</ul>
2016-06-05 17:30:10 +00:00
</footer-->
2016-06-01 07:32:30 +00:00
</body>
</html>