diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2020-08-14 15:51:52 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2020-08-14 17:02:19 +0300 |
| commit | 6448356292f495fbba42e2edb3d43c6f183ebebc (patch) | |
| tree | 9b7ef85cfa6517a36b7b4b0abafb9cc618522b1a | |
| parent | 9822cf834d1425f8ef437ca8f943a6dd61e81db5 (diff) | |
| download | aaoth.xyz-6448356292f495fbba42e2edb3d43c6f183ebebc.tar.gz aaoth.xyz-6448356292f495fbba42e2edb3d43c6f183ebebc.zip | |
add navbar and footer
| -rw-r--r-- | _data/navigation.yml | 10 | ||||
| -rw-r--r-- | _includes/footer.html | 4 | ||||
| -rw-r--r-- | _includes/navigation.html | 7 |
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> |
