Initial template work
This commit is contained in:
25
_includes/links.lqd.html
Normal file
25
_includes/links.lqd.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% if top %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
<p>
|
||||
{% if top %}
|
||||
{% for i in basic_theme.header_links %}
|
||||
<a href="{{ i.href | relative_url }}">{{ i.name }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
[<a href="{{ "/" | relative_url }}">Root</a>]
|
||||
{% if page.previous %}
|
||||
[<a href="{{ page.previous }}">Previous</a>]
|
||||
{% endif %}
|
||||
{% unless page.catagories %}
|
||||
[<a href="{{ page.catagories | pop | join "/" }}">Up</a>]
|
||||
{% endunless %}
|
||||
{% if page.next %}
|
||||
p<a href="{{ page.next }}">Next</a>]
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if top %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user