If you want how build a blog like this in github pages, you have written a post with all steps here{:target="_blank"} (spanish)
{% include code_note.html
title='optional custom title'
content='text content note'
%}
{% include code_image.html
image='path/to/image.png'
title='title image'
target='_blank'
%}
sample:
[text here](https://twitter.com/dagope){:target="_blank"}
Open a terminal with project path and execute:
docker-compose up
Key press CTRL + C
to finish server and run:
docker-compose down
docker build -t githubpagebase:v1.0 .
Run container from bash or powershell
docker run --rm -it -p 4000:4000 -v ${PWD}:/app -w /app githubpagebase /bin/bash
Run container from windows command line
docker run --rm -it -p 4000:4000 -v %cd%:/app -w /app githubpagebase /bin/bash
Run jekyll serve:
bundle exec jekyll serve --host 0.0.0.0 -w --config "_config.yml,_config_dev.yml"
Run container with jekyll serve:
> docker run --rm -it -p 4000:4000 -v %cd%:/app -w /app githubpagebase:v1.0 /bin/bash -c "'bundle install && bundle exec jekyll serve --host 0.0.0.0 -w --config '_config.yml,_config_dev.yml'""