From 4931ffc06a1742b47c55c65bfbd16f8a7adf5183 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Fri, 14 Aug 2020 17:41:55 +0300 Subject: fix permalinks remove .html from url --- _data/navigation.yml | 8 ++++---- _layouts/default.html | 2 +- about.md | 1 + art.md | 1 + music.md | 1 + other.md | 1 + 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 33574ab..a774e85 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,10 +1,10 @@ - name: home link: / - name: music - link: /music.html + link: /music - name: art - link: /art.html + link: /art - name: other - link: /other.html + link: /other - name: about - link: /about.html + link: /about diff --git a/_layouts/default.html b/_layouts/default.html index 2a76f76..e82a35e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,7 @@ {{ page.title }} - {{ site.title }} - + {% include navigation.html %} diff --git a/about.md b/about.md index 6f2323c..b220382 100644 --- a/about.md +++ b/about.md @@ -1,5 +1,6 @@ --- title: about +permalink: /about/ --- # about diff --git a/art.md b/art.md index f5913d5..f037725 100644 --- a/art.md +++ b/art.md @@ -1,5 +1,6 @@ --- title: art +permalink: /art/ --- # art diff --git a/music.md b/music.md index d52913e..313be9e 100644 --- a/music.md +++ b/music.md @@ -1,5 +1,6 @@ --- title: music +permalink: /music/ --- # music diff --git a/other.md b/other.md index 17af0a1..505c5d9 100644 --- a/other.md +++ b/other.md @@ -1,5 +1,6 @@ --- title: other +permalink: /other/ --- # other -- cgit v1.2.3