From d624d90a97623f15abf978978a514671d0397514 Mon Sep 17 00:00:00 2001 From: "Thomas \"Cakeisalie5\" Touhey" Date: Tue, 23 May 2017 23:39:15 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9gl=C3=A9=20quelques=20soucis,=20modifi?= =?UTF-8?q?=C3=A9=20la=20page=20de=20contact.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- _config.yml | 29 +++++++++-------------------- _includes/header.html | 4 ++-- _layouts/post.html | 8 ++++++++ contact.md | 9 ++++++--- 5 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 _layouts/post.html diff --git a/README.md b/README.md index 04994fb..b6c73eb 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ Pour installer les dépendances : Pour construire le site (le résultat sera dans `_site/`) : - jekyll build + bundle exec jekyll build Pour visualiser le site pendant que l'on fait des modifications au template ou au contenu : - jekyll serve + bundle exec jekyll serve ## Sur le serveur @@ -36,4 +36,4 @@ Pour refaire le site bundler exec jekyll build -Et là normalement c'est ok. \ No newline at end of file +Et là normalement c'est ok. diff --git a/_config.yml b/_config.yml index f5df983..f975bec 100644 --- a/_config.yml +++ b/_config.yml @@ -1,28 +1,17 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - # Site settings # These are used to personalize your new site. If you look in the HTML files, # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@domain.com -description: > # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll +title: CreativeCalc +email: contact@creativecalc.fr +description: > + CreativeCalc est une association à but non lucratif promouvant l'apprentissage + de la programmation. +baseurl: "" +url: "https://www.creativecalc.fr" +twitter_username: PlaneteCasio +github_username: PlaneteCasio # Build settings markdown: kramdown diff --git a/_includes/header.html b/_includes/header.html index dd116cd..81bdea7 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -3,8 +3,8 @@ -CreativeCalc – {{ page.title }} - +{% if page.title %}{{ page.title }} – {% endif %}{{ site.title }} + diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..bab1bf9 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,8 @@ +{% include header.html %} + +
+

{{ page.title }}

+{{ page.content | markdownify }} +
+ +{% include footer.html %} diff --git a/contact.md b/contact.md index e164ef2..d58ad37 100644 --- a/contact.md +++ b/contact.md @@ -3,8 +3,11 @@ layout: page title: Comment nous contacter ? permalink: /contact.html --- -Si vous souhaitez rejoindre l'association ou nous poser une question, vous -pouvez nous contacter en envoyant un email à -[contact@creativecalc.fr](mailto:contact@creativecalc.fr). +Si vous souhaitez rejoindre l'association ou nous poser directement +une question, vous pouvez nous contacter en envoyant un email à +l'adresse suivante : + +[contact@creativecalc.fr](mailto:contact@creativecalc.fr) +{: style="text-align: center;"} Vous recevrez une réponse sous 48h au maximum.