From 0206622f1097f0dd52c3ce58d6ac886d5978cbd4 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Tue, 24 Jan 2023 18:35:55 +0100 Subject: [PATCH] fix: Fix wrong blog post --- .gitignore | 6 ++++++ _posts/2023-01-24-Moxxys-New-Website.md | 11 +++++++++++ _posts/2023-01-24-test.md | 7 ------- pkgs/page.nix | 4 ++-- 4 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 .gitignore create mode 100644 _posts/2023-01-24-Moxxys-New-Website.md delete mode 100644 _posts/2023-01-24-test.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a703860 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +result +.envrc +.direnv/ + +.jekyll-cache/ +_site/ \ No newline at end of file diff --git a/_posts/2023-01-24-Moxxys-New-Website.md b/_posts/2023-01-24-Moxxys-New-Website.md new file mode 100644 index 0000000..f09fc61 --- /dev/null +++ b/_posts/2023-01-24-Moxxys-New-Website.md @@ -0,0 +1,11 @@ +--- +layout: post +title: Moxxy's New Website +author: PapaTutuWawa +--- + +Hello everyone! Welcome on Moxxy's new website. It currently does not contain +much but that may change in the future. + +The page is built using [Jekyll](https://jekyllrb.com/) and [TailwindCSS](https://tailwindcss.com/). You can find the page's +source [here](https://codeberg.org/moxxy/website). diff --git a/_posts/2023-01-24-test.md b/_posts/2023-01-24-test.md deleted file mode 100644 index ac333a7..0000000 --- a/_posts/2023-01-24-test.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: post -title: Test -author: PapaTutuWawa ---- - -Hallo welt diff --git a/pkgs/page.nix b/pkgs/page.nix index e396ecf..c0e6d18 100644 --- a/pkgs/page.nix +++ b/pkgs/page.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation { src = ./../.; buildPhase = '' - ${jekyll}/bin/jekyll build + ${jekyll}/bin/jekyll build --future cp -r ./assets _site/assets ${tailwindWithTypography}/bin/tailwindcss --input ./input.css --output ./_site/assets/css/index.css ''; installPhase = '' mkdir -p $out/var/www/ - cp -vr _site/ $out/var/www/website + mv -vr _site/ $out/var/www/website ''; }