|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
|---|---|---|
| content | ||
| static | ||
| templates | ||
| _config.yml | ||
| .gitignore | ||
| .woodpecker.yml | ||
| config.toml | ||
| flake.lock | ||
| flake.nix | ||
| input.css | ||
| LICENSE | ||
| README.md | ||
| tailwind.config.js | ||
Moxxy's Website
See the live website at moxxy.org.
Development
Developing the site requires zola and tailwindcss.
Tailwind
The website uses tailwindcss for layouting. To use tailwind, install the tailwindcss CLI application. The typography plugin is required for building the website.
Previewing
In order to test changes, assuming jekyll and tailwindcss are set up, ...
- Run
tailwindcss -c tailwind.config.js -i input.css --watch --output ./static/css/index.cssfrom the root of the repository. - Run
zola servefrom the root of the repository.
This gives you an environment where tailwindcss and zola regenerate their previews when modifying their files.
Building
tailwindcss --input ./input.css --output ./static/css/index.csszola build
Adding a Blog Post
If you want to add a blog post, considert the following:
- If the post should contain media, create a directory in
./content/blog/with the following naming schemeYYYY-MM-DD-<Title>. Inside that directory, create anindex.mdfile where you can write the post in Markdown. The media files can then be placed inside that directory and included using. - If the post does not contain media, create a file in
./content/blog/with the following naming schemeYYYY-MM-DD-<Title>. Inside that file you can write the post in Markdown.
Note that the existing posts specify an alias as this site has been migrated from jekyll to zola. It is not required for new posts.
License
See ./LICENSE