Updated developer experience and added placeholder
This commit is contained in:
parent
cd187e3092
commit
7a0665a32e
6
content/posts/example.md
Normal file
6
content/posts/example.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Example"
|
||||||
|
date: 2024-03-03T14:27:40+01:00
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
13
flake.nix
13
flake.nix
@ -60,7 +60,18 @@
|
|||||||
ln -s ${nostyleplease} ./themes/nostyleplease
|
ln -s ${nostyleplease} ./themes/nostyleplease
|
||||||
fi
|
fi
|
||||||
|
|
||||||
hugo server --buildDrafts
|
alias new='hugo new content'
|
||||||
|
alias serve='hugo serve --buildDrafts'
|
||||||
|
|
||||||
|
greeter_text="
|
||||||
|
* Create new content with:
|
||||||
|
new posts/name-of-post.md
|
||||||
|
|
||||||
|
* Render drafts with:
|
||||||
|
serve
|
||||||
|
"
|
||||||
|
|
||||||
|
echo "$greeter_text"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user