upgrade jekyll

This commit is contained in:
mose 2018-12-03 10:25:29 +08:00
parent 9ae9f9de1c
commit e04fc05b47
8 changed files with 87 additions and 68 deletions

View file

@ -1,8 +1,8 @@
source 'https://rubygems.org'
gem 'json', github: 'flori/json', branch: 'v1.8'
gem 'json'
group :jekyll_plugins do
group :plugins do
gem 'jekyll'
gem 'jekyll-sitemap'
gem 'jemoji'

View file

@ -1,69 +1,90 @@
GIT
remote: git://github.com/flori/json.git
revision: 7f4cfd853f2c919d854fb95548a19980feff17e8
branch: v1.8
specs:
json (1.8.6)
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.5)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
activesupport (5.2.1.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
colorator (0.1)
ffi (1.9.10)
font-awesome-sass (4.5.0)
sass (>= 3.2)
gemoji (2.1.0)
html-pipeline (2.2.2)
activesupport (>= 2, < 5)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.1.3)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.9.25)
font-awesome-sass (5.5.0.1)
sassc (>= 1.11)
forwardable-extended (2.6.0)
gemoji (3.0.0)
html-pipeline (2.9.1)
activesupport (>= 2)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.0.1)
colorator (~> 0.1)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.5)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
rouge (~> 1.7)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-compose (0.4.1)
jekyll (>= 2.5.0)
jekyll-compose (0.8.0)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.9.1)
jekyll (>= 2.0)
jekyll-sass-converter (1.4.0)
jekyll-redirect-from (0.14.0)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-sitemap (0.9.0)
jekyll-watch (1.3.0)
jekyll-sitemap (1.2.0)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
listen (~> 3.0)
jemoji (0.5.1)
gemoji (~> 2.0)
jemoji (0.10.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 2.0)
kramdown (1.9.0)
liquid (3.0.6)
listen (3.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
mini_portile2 (2.0.0)
minitest (5.8.3)
nokogiri (1.6.7.1)
mini_portile2 (~> 2.0.0.rc2)
rb-fsevent (0.9.7)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rouge (1.10.1)
jekyll (~> 3.0)
json (2.1.0)
kramdown (1.17.0)
liquid (4.0.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
mini_portile2 (2.3.0)
minitest (5.11.3)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (3.3.0)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.4.21)
thread_safe (0.3.5)
tzinfo (1.2.2)
sass (3.7.2)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (2.0.0)
ffi (~> 1.9.6)
rake
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
PLATFORMS
@ -77,9 +98,9 @@ DEPENDENCIES
jekyll-redirect-from
jekyll-sitemap
jemoji
json!
json
kramdown
rouge
BUNDLED WITH
1.15.4
1.17.1

View file

@ -17,7 +17,7 @@ Si vous voyez des typos, voulez ajouter des articles, retoucher un texte dont vo
Vous pouvez aussi utiliser les [issues][2] pour signaler vos remarques et suggestions si ce charabia juste au dessous vous rend perplexe.
Developer
Developper
-----------
Le plus simple pour lancer jekyll quand on a pas un environnement ruby tout prtet, c'est de lancer
@ -47,7 +47,6 @@ Les gens
- voir http://crapaud-fou.org/partenaires/
Copyright
----------
@ -57,7 +56,5 @@ Le thème utilisé est dérivé du thème [*lanyon*](https://github.com/poole/la
Chaque article dont l'auteur est indiqué appartient à son ou ses auteurs indivisiblement. Les illustrations, sauf mention contraire, sont crées par Thanh Nghiem. Le copyright de ce qui n'est pas article ou dessin est détenu collectivement par les crapauds fous, l'équipe éditoriale et l'équipe technique qui les supporte.
[1]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[2]: https://github.com/crazy-toads/crazy-toads.github.io/issues

View file

@ -22,7 +22,7 @@ safe: false
future: true
github: https://github.com/crazy-toads/crazy-toads.github.io
gems:
plugins:
- jekyll-paginate
- jemoji
- font-awesome-sass

View file

@ -23,7 +23,7 @@ safe: false
future: true
github: https://github.com/crazy-toads/crazy-toads.github.io
gems:
plugins:
- jekyll-paginate
- jemoji
- font-awesome-sass

View file

@ -11,7 +11,7 @@ layout: default
{% if page.modified.size > 2 %}
{% assign moddate = page.modified | date_to_string %}
{% assign pgdate = page.date | date_to_string %}
{% unless moddate == pgdate | date_to_string %}
{% unless moddate == pgdate %}
<span class="post-date" itemprop="dateModified" content="{{ page.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Date de modification"> {{ page.modified | date_to_string }}</i></span>
{% endunless %}
{% endif %}
@ -46,12 +46,12 @@ layout: default
<div class="prevnext">
{% if page.previous.url %}
<a class="prevnext-item older" href="{{ site.url }}{{page.previous.url}}" title="{{ page.previous.title }}">Older</a>
<a class="prevnext-item older" href="{{site.url}}{{page.previous.url}}" title="{{ page.previous.title }}">Older</a>
{% else %}
<span class="prevnext-item older">Older</span>
{% endif %}
{% if page.next.url %}
<a class="prevnext-item older" href="{{ site.url }}{{page.next.url}}" title="{{ page.next.title }}">Newer</a>
<a class="prevnext-item older" href="{{site.url}}{{page.next.url}}" title="{{ page.next.title }}">Newer</a>
{% else %}
<span class="prevnext-item older">Newer</span>
{% endif %}

View file

@ -1,7 +1,7 @@
version: '3'
services:
jekyll:
image: jekyll/jekyll:3.0.1
image: jekyll/jekyll:3.8.5
volumes:
- ".:/srv/jekyll"
ports:

View file

@ -1,7 +1,8 @@
---
---
callback([
{% for post in site.posts reversed | sort: title %}
{% assign sortedposts = site.posts | sort: 'title' %}
{% for post in sortedposts reversed %}
{
"text": "{{post.title | replace:'"','\"'}}",
"href": "{{site.url}}{{post.url}}"