From 3e67f1724e5506d99ef5aff1c82ff3e66e30c9d5 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 14 Sep 2021 20:49:15 +0200 Subject: added content --- views/about.pug | 6 ++++++ views/contact.pug | 8 ++++++++ views/index.pug | 4 ---- views/layout.pug | 11 +++++++---- views/projects.pug | 6 ++++++ 5 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 views/about.pug create mode 100644 views/contact.pug delete mode 100644 views/index.pug create mode 100644 views/projects.pug (limited to 'views') diff --git a/views/about.pug b/views/about.pug new file mode 100644 index 0000000..3eda61a --- /dev/null +++ b/views/about.pug @@ -0,0 +1,6 @@ +extends layout + +block content + h2 about + p hello. i am a muffin. i enjoy starting projects and never finishing them. i am also interested in the free software movement. i am *not* interested to use capitalization on this page. + \ No newline at end of file diff --git a/views/contact.pug b/views/contact.pug new file mode 100644 index 0000000..aa89cef --- /dev/null +++ b/views/contact.pug @@ -0,0 +1,8 @@ +extends layout + +block content + h2 contact + ul + li Matrix: #[a(href="https://matrix.to/#/@metamuffin:metamuffin.org") @metamuffin:metamuffin.org] + li thats it. + diff --git a/views/index.pug b/views/index.pug deleted file mode 100644 index 6c1bf18..0000000 --- a/views/index.pug +++ /dev/null @@ -1,4 +0,0 @@ -extends layout - -block content - p Here is some content diff --git a/views/layout.pug b/views/layout.pug index ac71623..769fa3b 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -4,7 +4,12 @@ html(lang="en") title metamuffin.org body header - h2 metamuffin.org + h2 metamuffin + nav + ul + li:a(href="/about") about + li:a(href="/projects") projects + li:a(href="/contact") contact hr block content @@ -12,9 +17,7 @@ html(lang="en") hr footer - p metamuffin.org + p metamuffin.org version of commit #{commit} p Copyright (C) 2021 metamuffin - p This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - p This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. p See #[a(href="/licence") licence]. p Sources can be found on #[a(href="https://codeberg.org/metamuffin/website") codeberg]. diff --git a/views/projects.pug b/views/projects.pug new file mode 100644 index 0000000..9c2cbb8 --- /dev/null +++ b/views/projects.pug @@ -0,0 +1,6 @@ +extends layout + +block content + h2 projects + h3 todo + -- cgit v1.2.3-70-g09d2