/ldej-nl

The repository for my blog

Primary LanguageHTML

ldej.nl

Hugo

Checkout

Either

$ git clone --recursive git@github.com:ldej/ldej-nl.git

or

$ git clone git@github.com:ldej/ldej-nl.git
$ git submodule init
$ git submodule checkout

Hugo

Install hugo

$ go get -u github.com/gohugoio/hugo

Start new site

$ cd ~/projects/
$ hugo new site ldej-nl
$ cd ldej-nl
$ git init

Add theme

$ git submodule add https://github.com/azmelanar/hugo-theme-pixyll.git themes/pixyll
$ echo 'theme = "pixyll"' >> config.toml

Create post

$ hugo new post/first-post.md

Serve

$ hugo server -D

Build static pages

$ hugo -D

Firebase

https://gohugo.io/hosting-and-deployment/hosting-on-firebase/

https://github.com/marketplace/actions/github-action-for-firebase

Webp images

$ sudo apt install imagemagick webp

Put images in ./static/to_process/

$ make images

IntelliJ Proofreading Spellcheck en_GB

Install Hunspell plugin

$ wget -O en_GB.aff https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_GB.aff
$ wget -O en_GB.dic https://cgit.freedesktop.org/libreoffice/dictionaries/plain/en/en_GB.dic

In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Proofreading | Spelling. To add the new custom dictionary to the list, click the Add button or press Alt+Insert and specify the location of the en_GB.dic file.

Resume

$ npm install -g resume-cli
$ npm install @anthonyjdella/jsonresume-theme-anthonyjdella-stackoverflow
$ resume export resume.pdf --resume ./data/resume.json --format pdf --theme ./node_modules/@anthonyjdella/jsonresume-theme-anthonyjdella-stackoverflow/