all repos — aaoth.xyz @ 6448356292f495fbba42e2edb3d43c6f183ebebc

aaoth.xyz website

add navbar and footer
la-ninpre leobrekalini@gmail.com
Fri, 14 Aug 2020 15:51:52 +0300
commit

6448356292f495fbba42e2edb3d43c6f183ebebc

parent

9822cf834d1425f8ef437ca8f943a6dd61e81db5

3 files changed, 21 insertions(+), 0 deletions(-)

jump to
A _data/navigation.yml

@@ -0,0 +1,10 @@

+- name: home + link: / +- name: music + link: /music.html +- name: art + link: /art.html +- name: other + link: /other.html +- name: about + link: /about.html
A _includes/footer.html

@@ -0,0 +1,4 @@

+<footer> + <p>this work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/">creative commons attribution-sharealike 4.0 international license</a></p> + <p><a rel="site source" href="https://git.aaoth.xyz/aaoth.xyz.git">site source</a></p> +</footer>
A _includes/navigation.html

@@ -0,0 +1,7 @@

+<nav> + <ul> + {% for item in site.data.navigation %} + <li><a href="{{ item.link }}">{{ item.name }}</a></li> + {% endfor %} + </ul> +</nav>