mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-15 01:24:03 +00:00
44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{ page.title }}</title>
|
|
<!-- link to main stylesheet -->
|
|
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/main.css">
|
|
</head>
|
|
<body>
|
|
<div id="pillar">
|
|
<nav>
|
|
{% for section in site.data.docs %}
|
|
<h4>{{section.title}}</h4>
|
|
<ul>
|
|
{% for doc in section.docs %}
|
|
{% assign doc_url = doc | prepend:"/" | prepend: section.dir | prepend: "/" | append:"/" %}
|
|
{% 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 %}
|
|
<li><a {% if doc_url == page.url or doc_url == tab %}class="current"{% endif %} href="{{ site.url + p.url }}">{{ title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
<div id="container">
|
|
<h1>{{ page.title }}</h1>
|
|
{{ content }}
|
|
</div>
|
|
|
|
</div>
|
|
<!--footer>
|
|
<ul>
|
|
<li><a href="https://github.com/lsyncd">github.com/lsyncd</a></li>
|
|
</ul>
|
|
</footer-->
|
|
</body>
|
|
</html>
|