blog

blog

Tech tutorial blog powered by Jekyll on Github Pages

Repository for Jekyll on Github website https://blog.floriancourgey.com

Install & run (docker)

🐳 Install (docker)

$ docker-compose up # Server address: http://127.0.0.1:4000/
# docker exec bash

💻 Install (local)

$ brew install chruby ruby-install
$ ruby-install ruby 2.7.4 # from https://pages.github.com/versions/

🚀 Run

$ bundle install
$ bundle exec jekyll serve

Create a post

$ touch _posts/YYYY-mm-dd-slug-here.md
---
title: New article
categories: [prestashop,google,opensource,adobe campaign]
---
Excerpt here...
<p class="text-center">🐍👑🌍</p>
<!--more-->
**bold** *italic*  ~~strikethrough~~
## Use h2 for each section
![todo](/assets/images/2019/01/image.png)

Video:

<div class="text-center">
  <video autoplay loop muted playsinline height="250">
    <source src="/assets/images/2018/12/overthewire-natas12-php-injection.mp4" type="video/mp4" />
  </video>
</div>

Markdown reference https://guides.github.com/features/mastering-markdown/#examples

Update Algolia index

$ echo 'my_algolia_key' > _algolia_api_key
$ bundle install --gemfile=Gemfile.dev
$ bundle exec jekyll algolia

htmlproofer

$ htmlproofer --allow_hash_href --empty_alt_ignore --assume_extension --disable_external ./_site &> h
tmlproofer/htmlproofer.log
jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer