docs/_layouts/default3.html
{% if page.url != "/" %}
Lsyncd - {{ page.title }} {% else %} {{ page.title }} {% endif %} Note, this manual is for upcoming Lsyncd 3 and currently in development.
{{ content }} {% assign docs = site.data.docs | map: 'docs' | join: ',' | split: ',' %} {% for doc in docs %} {% assign doc_url = doc %} {% if doc_url != "/" %} {% assign doc_url = doc_url | append: "/" %} {% endif %} {% if doc_url == page.url %} {% if forloop.first %} {% else %} {% assign previous = forloop.index0 | minus: 1 %} {% assign previous_page = docs[previous] %} {% endif %} {% if forloop.last %} {% else %} {% assign next = forloop.index0 | plus: 1 %} {% assign next_page = docs[next] %} {% endif %}
{% break %} {% endif %} {% endfor %}