aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-08-14 15:51:52 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-08-14 17:02:19 +0300
commit6448356292f495fbba42e2edb3d43c6f183ebebc (patch)
tree9b7ef85cfa6517a36b7b4b0abafb9cc618522b1a
parent9822cf834d1425f8ef437ca8f943a6dd61e81db5 (diff)
downloadaaoth.xyz-6448356292f495fbba42e2edb3d43c6f183ebebc.tar.gz
aaoth.xyz-6448356292f495fbba42e2edb3d43c6f183ebebc.zip
add navbar and footer
-rw-r--r--_data/navigation.yml10
-rw-r--r--_includes/footer.html4
-rw-r--r--_includes/navigation.html7
3 files changed, 21 insertions, 0 deletions
diff --git a/_data/navigation.yml b/_data/navigation.yml
new file mode 100644
index 0000000..33574ab
--- /dev/null
+++ b/_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
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..01fa2b0
--- /dev/null
+++ b/_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>
diff --git a/_includes/navigation.html b/_includes/navigation.html
new file mode 100644
index 0000000..70ae45e
--- /dev/null
+++ b/_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>