Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 896 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 896 Bytes

My personal blog

Some technical stuff I want to keep around.

Install

# To install run a clone command with recursive enabled
git clone --recursive [email protected]:IxDay/ixday.github.com.git

# Then clone the master branch of the repo in the "public" directory
git clone -b master [email protected]:IxDay/ixday.github.com.git public

Publish

# Default command build the website inside the public directory
hugo
# Add changes
cd public
git add -A
git commit -m "whatever"
git push

Create a new post

You can run: hugo new <name_of_the_post>, to create a new post file with the proper path and file name. This is due to the script/wrapper.sh file in conjunction with .envrc which allows wrapping of the Hugo CLI.

Do not forget: you have to remove the draft=true in order for the post to be properly published.