fix: Fix wrong blog post

This commit is contained in:
PapaTutuWawa 2023-01-24 18:35:55 +01:00
parent 9b46d9c1fe
commit 0206622f10
4 changed files with 19 additions and 9 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
result
.envrc
.direnv/
.jekyll-cache/
_site/

View File

@ -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).

View File

@ -1,7 +0,0 @@
---
layout: post
title: Test
author: PapaTutuWawa
---
Hallo welt

View File

@ -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
'';
}