Commit a005e1755c083006fbbf70063535230b0d2338f4
0 parents
Commit initial d'installation de Jekyll
Showing
7 changed files
with
163 additions
and
0 deletions
Show diff stats
1 | +++ a/Gemfile | |
... | ... | @@ -0,0 +1,24 @@ |
1 | +source "https://rubygems.org" | |
2 | +ruby RUBY_VERSION | |
3 | + | |
4 | +# Hello! This is where you manage which Jekyll version is used to run. | |
5 | +# When you want to use a different version, change it below, save the | |
6 | +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | |
7 | +# | |
8 | +# bundle exec jekyll serve | |
9 | +# | |
10 | +# This will help ensure the proper Jekyll version is running. | |
11 | +# Happy Jekylling! | |
12 | +gem "jekyll", "3.3.1" | |
13 | + | |
14 | +# This is the default theme for new Jekyll sites. You may change this to anything you like. | |
15 | +gem "minima", "~> 2.0" | |
16 | + | |
17 | +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | |
18 | +# uncomment the line below. To upgrade, run `bundle update github-pages`. | |
19 | +# gem "github-pages", group: :jekyll_plugins | |
20 | + | |
21 | +# If you have any plugins, put them here! | |
22 | +group :jekyll_plugins do | |
23 | + gem "jekyll-feed", "~> 0.6" | |
24 | +end | ... | ... |
1 | +++ a/Gemfile.lock | |
... | ... | @@ -0,0 +1,56 @@ |
1 | +GEM | |
2 | + remote: https://rubygems.org/ | |
3 | + specs: | |
4 | + addressable (2.5.0) | |
5 | + public_suffix (~> 2.0, >= 2.0.2) | |
6 | + colorator (1.1.0) | |
7 | + ffi (1.9.14) | |
8 | + forwardable-extended (2.6.0) | |
9 | + jekyll (3.3.1) | |
10 | + addressable (~> 2.4) | |
11 | + colorator (~> 1.0) | |
12 | + jekyll-sass-converter (~> 1.0) | |
13 | + jekyll-watch (~> 1.1) | |
14 | + kramdown (~> 1.3) | |
15 | + liquid (~> 3.0) | |
16 | + mercenary (~> 0.3.3) | |
17 | + pathutil (~> 0.9) | |
18 | + rouge (~> 1.7) | |
19 | + safe_yaml (~> 1.0) | |
20 | + jekyll-feed (0.8.0) | |
21 | + jekyll (~> 3.3) | |
22 | + jekyll-sass-converter (1.5.0) | |
23 | + sass (~> 3.4) | |
24 | + jekyll-watch (1.5.0) | |
25 | + listen (~> 3.0, < 3.1) | |
26 | + kramdown (1.13.1) | |
27 | + liquid (3.0.6) | |
28 | + listen (3.0.8) | |
29 | + rb-fsevent (~> 0.9, >= 0.9.4) | |
30 | + rb-inotify (~> 0.9, >= 0.9.7) | |
31 | + mercenary (0.3.6) | |
32 | + minima (2.1.0) | |
33 | + jekyll (~> 3.3) | |
34 | + pathutil (0.14.0) | |
35 | + forwardable-extended (~> 2.6) | |
36 | + public_suffix (2.0.4) | |
37 | + rb-fsevent (0.9.8) | |
38 | + rb-inotify (0.9.7) | |
39 | + ffi (>= 0.5.0) | |
40 | + rouge (1.11.1) | |
41 | + safe_yaml (1.0.4) | |
42 | + sass (3.4.22) | |
43 | + | |
44 | +PLATFORMS | |
45 | + ruby | |
46 | + | |
47 | +DEPENDENCIES | |
48 | + jekyll (= 3.3.1) | |
49 | + jekyll-feed (~> 0.6) | |
50 | + minima (~> 2.0) | |
51 | + | |
52 | +RUBY VERSION | |
53 | + ruby 2.3.3p222 | |
54 | + | |
55 | +BUNDLED WITH | |
56 | + 1.13.6 | ... | ... |
1 | +++ a/_config.yml | |
... | ... | @@ -0,0 +1,34 @@ |
1 | +# Welcome to Jekyll! | |
2 | +# | |
3 | +# This config file is meant for settings that affect your whole blog, values | |
4 | +# which you are expected to set up once and rarely edit after that. If you find | |
5 | +# yourself editing this file very often, consider using Jekyll's data files | |
6 | +# feature for the data you need to update frequently. | |
7 | +# | |
8 | +# For technical reasons, this file is *NOT* reloaded automatically when you use | |
9 | +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. | |
10 | + | |
11 | +# Site settings | |
12 | +# These are used to personalize your new site. If you look in the HTML files, | |
13 | +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. | |
14 | +# You can create any custom variable you would like, and they will be accessible | |
15 | +# in the templates via {{ site.myvariable }}. | |
16 | +title: Your awesome title | |
17 | +email: your-email@domain.com | |
18 | +description: > # this means to ignore newlines until "baseurl:" | |
19 | + Write an awesome description for your new site here. You can edit this | |
20 | + line in _config.yml. It will appear in your document head meta (for | |
21 | + Google search results) and in your feed.xml site description. | |
22 | +baseurl: "" # the subpath of your site, e.g. /blog | |
23 | +url: "" # the base hostname & protocol for your site, e.g. http://example.com | |
24 | +twitter_username: jekyllrb | |
25 | +github_username: jekyll | |
26 | + | |
27 | +# Build settings | |
28 | +markdown: kramdown | |
29 | +theme: minima | |
30 | +gems: | |
31 | + - jekyll-feed | |
32 | +exclude: | |
33 | + - Gemfile | |
34 | + - Gemfile.lock | ... | ... |
1 | +++ a/_posts/2016-12-16-welcome-to-jekyll.markdown | |
... | ... | @@ -0,0 +1,25 @@ |
1 | +--- | |
2 | +layout: post | |
3 | +title: "Welcome to Jekyll!" | |
4 | +date: 2016-12-16 21:03:48 +0100 | |
5 | +categories: jekyll update | |
6 | +--- | |
7 | +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. | |
8 | + | |
9 | +To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. | |
10 | + | |
11 | +Jekyll also offers powerful support for code snippets: | |
12 | + | |
13 | +{% highlight ruby %} | |
14 | +def print_hi(name) | |
15 | + puts "Hi, #{name}" | |
16 | +end | |
17 | +print_hi('Tom') | |
18 | +#=> prints 'Hi, Tom' to STDOUT. | |
19 | +{% endhighlight %} | |
20 | + | |
21 | +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. | |
22 | + | |
23 | +[jekyll-docs]: http://jekyllrb.com/docs/home | |
24 | +[jekyll-gh]: https://github.com/jekyll/jekyll | |
25 | +[jekyll-talk]: https://talk.jekyllrb.com/ | ... | ... |
1 | +++ a/about.md | |
... | ... | @@ -0,0 +1,15 @@ |
1 | +--- | |
2 | +layout: page | |
3 | +title: About | |
4 | +permalink: /about/ | |
5 | +--- | |
6 | + | |
7 | +This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/) | |
8 | + | |
9 | +You can find the source code for the Jekyll new theme at: | |
10 | +{% include icon-github.html username="jekyll" %} / | |
11 | +[minima](https://github.com/jekyll/minima) | |
12 | + | |
13 | +You can find the source code for Jekyll at | |
14 | +{% include icon-github.html username="jekyll" %} / | |
15 | +[jekyll](https://github.com/jekyll/jekyll) | ... | ... |