|
1 month ago | |
---|---|---|
_includes | 11 months ago | |
_layouts | 2 months ago | |
_plugins | 11 months ago | |
_posts | 8 months ago | |
about | 11 months ago | |
blog | 1 month ago | |
css | 2 months ago | |
img | 2 months ago | |
js | 1 month ago | |
webfonts | 2 months ago | |
.gitattributes | 11 months ago | |
.gitignore | 10 months ago | |
404.html | 11 months ago | |
README.md | 10 months ago | |
_config.yml | 2 months ago | |
atom.xml | 11 months ago | |
feed.json | 4 months ago | |
index.html | 11 months ago | |
search.json | 11 months ago |
What a personal Jekyll blog 💯
$ git clone git@git.forestier.app:HorlogeSkynet/blog.git
$ cd blog/
# apt install gem ruby-dev zlib1g-dev
$ gem install --install-dir .gem/ jekyll jemoji jekyll-seo-tag jekyll-sitemap jekyll-redirect-from jekyll-mentions jekyll-paginate-v2
$ export GEM_HOME=".gem/"
$ .gem/bin/jekyll serve
Posts are placed under _posts/
folder, and their respective images under _img/
folder
Styles and scripts assets are respectively under css/
and js/
folders
Disable comments section per post with :
---
comments: false
---
Publish a post as draft (not referenced anywhere) :
---
draft: true
sitemap: false
---
Set a static link to a post or a page (in addition to its default permalink) :
---
redirect_from: /my-cool-link
---
Add a reference to a GitHub user profile within a post or a page :
This is a pretty **cool post** written by @HorlogeSkynet !
Create an images gallery :
{% include gallery.html URIs='your-post-name_1.png;your-post-name_2.jpg;your-post-name_3.jpeg' %}
Add a video withing an <iframe>
tag :
{% include video.html URL='https://your.video.provider/video_id' %}
Add a music from SoundCloud or Spotify :
{% include soundcloud.html track_id='your_track_id' %}
<!-- ... -->
{% include spotify.html track_id='your_track_id' %}
Add a right-padding to a FontAwesome icon (automatically left-padded) :
<i class="fas fa-forward right"></i>
This website is built upon :
Thanks (again !) to @NAERNON for its wonderful favicon.