Pix IT team's blog
- Git 2.25.0
- Ruby 3.0
- Bundler 2.2
git clone git@github.com:1024pix/pix-engineering.git
cd pix-engineering
bundle install
bundle exec jekyll serve
- Docker
- Docker-compose > 3
git clone git@github.com:1024pix/pix-engineering.git
cd pix-engineering
docker-compose up --detach
You can access application at http://localhost:4000
1/ Create a new file called <user_id>.yml
(with user_id
is the concatenation of <firstname>_<lastname>
) in folder /_data/authors
:
# /_data/authors/jeremy_buget.yml
name: Jérémy Buget
description: CTO
links:
github: jbuget
twitter: jbuget
website: https://jbuget.fr
2/ Add the user's picture in /assets/images/authors/<user_id>.png
.
ℹ️ Picture must be a PNG file. It should have square dimensions.
In the post's front matter, add a property authors
, that could be a string (user_id
), an array of strings or nothing:
# No author
authors:
# Single author
authors: jeremy_buget
# Multiple authors
authors:
- jeremy_buget
- melanie_boudard
Copyright (c) 2020 GIP PIX.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see gnu.org/licenses.