blog/README.md
Nicola Belluti 74752bedf1
All checks were successful
Build and Publish / build (push) Successful in 1m52s
Updated the README.md
2024-07-30 15:52:24 +02:00

32 lines
691 B
Markdown

# Blog 🌐
> My personal blog, powered by [Hugo](https://gohugo.io/) and the
> [Blowfish](https://blowfish.page/) theme
## Building
Install [Hugo](https://gohugo.io/), then run:
```shell
git clone --recursive https://git.nicolabelluti.me/nicolabelluti/blog.git
cd blog
hugo --minify --gc
```
You can find the source code of the website in the `public/` directory
If you want to start the dev server, you need to run:
```shell
hugo server --buildDrafts --buildFuture
```
## Create a new article
To create a new article using the default structure
(`posts/<year>/<month>/<article_name>`), use this command:
```shell
hugo new content/posts/$(date +%Y/%m)/<Article name>/index.md
```