Updated developer experience and added placeholder

This commit is contained in:
Kristian Krsnik 2024-03-03 14:28:15 +01:00
parent cd187e3092
commit 7a0665a32e
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
2 changed files with 18 additions and 1 deletions

6
content/posts/example.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Example"
date: 2024-03-03T14:27:40+01:00
draft: true
---

View File

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