Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[*]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.{diff}]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ _site/
.sass-cache/
.jekyll-metadata
.DS_Store
Gemfile.lock
node_modules/
17 changes: 17 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"default": true,
"MD002": false,
"MD003": false,
"MD009": false,
"MD010": false,
"MD012": false,
"MD013": false,
"MD022": false,
"MD023": false,
"MD024": false,
"MD026": false,
"MD032": false,
"MD033": false,
"MD036": false,
"MD041": false
}
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js

node_js:
- "node"

rvm:
- 2.2

before_install:
- bundle install

script:
- bundle exec jekyll build
- npm test
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages'
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ baseurl: "" # the subpath of your site, e.g. /blog
url: "http://canada-ca.github.io" # the base hostname & protocol for your site
twitter_username: canada-ca
github_username: canada-ca
exclude: ['README.md', 'node_modules/']

# Translations
title:
Expand Down
58 changes: 27 additions & 31 deletions accueil.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,34 @@
lang: fr
---
<div class="home">

<h2 class="">Nouveaux articles</h1>
<div class="wb-eqht">
{% assign posts=site.posts | where:"lang", page.lang %}
{% for post in posts %}


<section class="col-md-6">

<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: "%F" | img_url: '100x100' crop: 'center' }}fr.png" alt="{{ post.alt }}" class="img-responsive thumbnail"></a>
<p>{{ post.description }} - <small>[{{ post.date | date: "%F" }}]</small></p>

</section>

{% endfor %}

</div>

<div class="row">
<div class="col-sm-8">
<section class="followus">
<h2>Suivez</h2>
<ul class="list-inline mrgn-tp-lg">
<li>
<a href="https://canada-ca.github.io/flux.xml"><img src="./images/feed-icon-14x14.png" alt="ATOM" class="mrgn-rght-sm">ATOM</a>
</li>
</ul>
</section>
</div>
</div>

<div class="wb-eqht">
{% assign posts=site.posts | where:"lang", page.lang %}
{% for post in posts %}
<section class="col-md-6">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<h3>{{ post.title }}</h3>
<img src="./thumbs/{{ post.date | date: '%F' }}fr.png" alt="{{ post.alt }}" class="img-responsive thumbnail">
</a>
<p>{{ post.description }} -
<small>[{{ post.date | date: "%F" }}]</small>
</p>
</section>
{% endfor %}
</div>
<div class="row">
<div class="col-sm-8">
<section class="followus">
<h2>Suivez</h2>
<ul class="list-inline mrgn-tp-lg">
<li>
<a href="https://canada-ca.github.io/flux.xml">
<img src="./images/feed-icon-14x14.png" alt="ATOM" class="mrgn-rght-sm">ATOM</a>
</li>
</ul>
</section>
</div>
</div>
</div>

<p>Date de modification : le 27 avril 2018</p>

71 changes: 30 additions & 41 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,38 @@
ref: index
lang: en
---


<div class="home">

<h2 class="">Newest articles</h1>

<div class="wb-eqht">
{% assign posts=site.posts | where:"lang", page.lang %}
{% for post in posts %}
{% unless post.draft %}
<section class="col-md-6">

<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: "%F" | img_url: '100x100' crop: 'center' }}.png" alt="{{ post.alt }}" class="img-responsive thumbnail"></a>
<p>{{ post.description }} - <small>[{{ post.date | date: "%F" }}]</small> </p>

</section>
{% endunless %}
{% endfor %}

</div>

<div class="row">
<div class="col-sm-8">
<section class="followus">
<h2>Subscribe</h2>
<ul class="list-inline mrgn-tp-lg">
<li>
<a href="https://canada-ca.github.io/feed.xml"><img src="./images/feed-icon-14x14.png" alt="ATOM" class="mrgn-rght-sm">ATOM</a>
</li>
</ul>
</section>
</div>
</div>
<div class="wb-eqht">
{% assign posts=site.posts | where:"lang", page.lang %}
{% for post in posts %}
{% unless post.draft %}
<section class="col-md-6">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
<h3>{{ post.title }}</h3>
<img src="./thumbs/{{ post.date | date: '%F' }}.png" alt="{{ post.alt }}"
class="img-responsive thumbnail">
</a>
<p>{{ post.description }} -
<small>[{{ post.date | date: "%F" }}]</small>
</p>
</section>
{% endunless %}
{% endfor %}
</div>
<div class="row">
<div class="col-sm-8">
<section class="followus">
<h2>Subscribe</h2>
<ul class="list-inline mrgn-tp-lg">
<li>
<a href="https://canada-ca.github.io/feed.xml">
<img src="./images/feed-icon-14x14.png" alt="ATOM" class="mrgn-rght-sm">ATOM</a>
</li>
</ul>
</section>
</div>
</div>
</div>

<p>Date modified: April 27, 2018</p>




<!-- <section class="col-md-6">

<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: "%F" | img_url: '520x296' crop: 'center' }}.png" alt="" class="img-responsive thumbnail"></a>
<p><small>[{{ post.date | date: "%F" }}]</small> - {{ post.description }}</p>

</section> -->
4 changes: 2 additions & 2 deletions index_drafts.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 class="">Newest articles</h1>
{% for post in posts %}
<section class="col-md-6">

<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: "%F" | img_url: '100x100' crop: 'center' }}.png" alt="{{ post.alt }}" class="img-responsive thumbnail"></a>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: '%F' }}.png" alt="{{ post.alt }}" class="img-responsive thumbnail"></a>
<p>{{ post.description }} - <small>[{{ post.date | date: "%F" }}]</small> </p>

</section>
Expand Down Expand Up @@ -43,7 +43,7 @@ <h2>Subscribe</h2>

<!-- <section class="col-md-6">

<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: "%F" | img_url: '520x296' crop: 'center' }}.png" alt="" class="img-responsive thumbnail"></a>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"><h3>{{ post.title }}</h3><img src="./thumbs/{{ post.date | date: '%F' }}.png" alt="" class="img-responsive thumbnail"></a>
<p><small>[{{ post.date | date: "%F" }}]</small> - {{ post.description }}</p>

</section> -->
Loading