summaryrefslogtreecommitdiff
path: root/art/plt/art_nav.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 12:56:44 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 12:56:44 -0600
commit403bcd7509498638b6e34d38eb29e1c3620917c9 (patch)
treeb10d853a923a85d4bd981a5b301abd3c1f5a8a7f /art/plt/art_nav.html
parent55cfef7fcaad7a657336b8be62508be9f631ff86 (diff)
finish base art page and upload first post
Diffstat (limited to 'art/plt/art_nav.html')
-rw-r--r--art/plt/art_nav.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/art/plt/art_nav.html b/art/plt/art_nav.html
new file mode 100644
index 0000000..0b69fb2
--- /dev/null
+++ b/art/plt/art_nav.html
@@ -0,0 +1,28 @@
+{%macro print(page, config)%}
+<div class="art-nav">
+ {%if page.next is not none%}
+ <span class="next">
+ <a href="{{page.next.url}}" alt="Next">
+ <i class="fas fa-arrow-left" alt="Arrow left"></i>
+ <span>Next</span>
+ </a>
+ </span>
+ {%endif%}
+
+ <span class="index">
+ <a href="{{config.url}}" alt="Index">
+ <i class="fas fa-home" alt="Home"></i>
+ <span>Index</span>
+ </a>
+ </span>
+
+ {%if page.previous is not none%}
+ <span class="previous">
+ <a href="{{page.previous.url}}" alt="Previous">
+ <i class="fas fa-arrow-right" alt="Arrow right"></i>
+ <span>Previous</span>
+ </a>
+ </span>
+ {%endif%}
+</div>
+{%endmacro%}