fix circles

This commit is contained in:
mose 2017-08-29 03:25:46 +08:00
parent 230b674e2e
commit 7fd75dc768
18 changed files with 82 additions and 58 deletions

View File

@ -63,8 +63,6 @@ links:
url: /crapauds/
- title: <i class="iconside iconm-user-tie"></i> Partenaires
url: /partenaires/
- title: <i class="iconside iconm-envelop"></i> Contact
url: /contact/
- title: <i class="iconside iconm-github2"></i> Source
url: https://github.com/crazy-toads/crazy-toads.github.io
external: true

View File

@ -14,7 +14,7 @@ url: http://localhost:4000
baseurl: ""
urlimg: http://localhost:4000/images
markdown: kramdown
paginate: 5
paginate: 10
paginate_path: "/textes/page:num"
excerpt_separator: <!--more-->
default_bg: sitelogo.png
@ -60,12 +60,12 @@ links:
url: /
- title: <i class="iconside iconm-quill"></i> Textes
url: /textes/
- title: <i class="iconside iconm-location"></i> Cercles
url: /cercles/
- title: <i class="iconside iconm-user"></i> Crapauds
url: /crapauds/
- title: <i class="iconside iconm-user-tie"></i> Partenaires
url: /partenaires/
- title: <i class="iconside iconm-envelop"></i> Contact
url: /contact/
- title: <i class="iconside iconm-github2"></i> Source
url: https://github.com/crazy-toads/crazy-toads.github.io
external: true

View File

@ -3,7 +3,6 @@
<a rel="license" href="{{ site.url }}/disclosure/" title="CC BY-NC-SA 4.0 License, link to site disclosure" class="social-icon"><i class="fa fa-creative-commons"></i></a>
<a rel="license" href="{{ site.url }}/disclosure/" title="CC BY-NC-SA 4.0 License, link to site disclosure">2016-{{ site.time | date: '%Y' }}</a>
- <a href="{{ site.url }}" title="Home">les Crapauds Fous</a>
- <a href="{{ site.url }}/apropos/" rel="me">c'est quoi ça?</a>
<span>
<a href="{{ site.github }}" rel="me"><i class="fa fa-github"> </i></a>
<a href="{{ site.url }}/feed.xml" rel="me"><i class="fa fa-rss"> </i></a>

View File

@ -2,7 +2,6 @@
<table>
<thead>
<tr>
<th><i class="fa fa-twitter">@{{ site.owner.twitter }}</i></th>
<th>QR code</th>
</tr>
</thead>

View File

@ -2,7 +2,6 @@
<table>
<thead>
<tr>
<th><i class="fa fa-twitter">@{{ site.owner.twitter }}</i></th>
<th>QR code</th>
</tr>
</thead>

View File

@ -21,9 +21,7 @@ Credits: {{ site.url }}/disclosure
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
<!-- <small>{{ site.tagline }}</small> -->
<div class="headicons">
<small><a href="{{ site.url }}/apropos" rel="me" title="About"><i class="iconm iconm-user"></i></a></small>
<small><a href="{{ site.url }}/blog" rel="me" title="Blog"><i class="iconm iconm-quill"></i></a></small>
<small><a href="{{ site.url }}/contact" rel="me" title="Contact"><i class="iconm iconm-envelop"></i></a></small>
<small><a href="{{ site.url }}/textes" rel="me" title="Textes">Textes <i class="iconm iconm-quill"></i></a></small>
</div>
</h3>
</div>

View File

@ -4,14 +4,30 @@ layout: default
<div class="post">
<h1 itemprop="name" class="post-title">{{ page.title }}</h1>
<span class="post-date" itemprop="datePublished" content="{{ page.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> <a class="permalink" href="{{ site.url }}{{ page.url }}" itemprop="url" title="Permanent link to this post">{{ page.date | date_to_string }}</a> </i></span>
{% 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 %}<span class="post-date" itemprop="dateModified" content="{{ page.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ page.modified | date_to_string }}</i></span>{% endunless %}{% endif %}
<span class="post-tags" itemprop="keywords" content="{{ page.tags | array_to_sentence_string }}">{% for tag in page.tags %}{% if forloop.first %}<i class="fa fa-tags" title="page tags"></i>{% endif %} <a href="{{ site.url }}/tags/#{{ tag | cgi_escape }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} &bull; {% endunless %}{% endfor %}</span>
{% unless page.show_meta == false %}
{% include meta_info.html %}
{% endunless %}
<span class="post-date" itemprop="datePublished" content="{{ page.date | date: "%Y-%m-%d" }}">
<i class="fa fa-calendar" title="Date published">
<a class="permalink" href="{{ site.url }}{{ page.url }}" itemprop="url" title="Permanent link to this post">{{ page.date | date_to_string }}</a> </i>
</span>
{% 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 %}
<span class="post-date" itemprop="dateModified" content="{{ page.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ page.modified | date_to_string }}</i></span>
{% endunless %}
{% endif %}
<span class="post-tags" itemprop="keywords" content="{{ page.tags | array_to_sentence_string }}">
{% for tag in page.categories %}
{% if forloop.first %}
<i class="fa fa-tags" title="page tags"></i>
{% endif %}
{{ tag }}
{% unless forloop.last %} &bull; {% endunless %}
{% endfor %}</span>
{% unless page.show_meta == false %}
{% include meta_info.html %}
{% endunless %}
{% if page.authors %}
<div class="authors">par {{ page.authors }}</div>
<div class="authors">Par {{ page.authors }}</div>
{% endif %}
{{ content }}

View File

@ -6,7 +6,7 @@ date: "2017-04-12"
slug: "or_noir"
description: "Utiliser son téléphone ou internet, cest céder gratuitement des informations, des données. De quelles données parlons-nous ? Comment sont-elles utilisées ?"
categories:
- big data
- BigData
---
### Vous avez dit data ?

View File

@ -6,7 +6,7 @@ date: "2017-04-15"
slug: "big_data_pour_les_nuls"
description: "Les sociétés technologiques du 21ème siècle amassent de grandes quantités de données sur leurs utilisateurs. Ce nouveau business model soulève nombre de questions dordre éthique."
categories:
- big data
- BigData
---
### Règles déthiques des big data du point de vue des entreprises

View File

@ -6,7 +6,7 @@ date: "2017-04-17"
slug: "acces_raisonnable"
description: "Si Internet favorisait non linformation, mais la désinformation ? Et si, pire, Internet ne facilitait en rien la naissance dune information pure et parfaite, mais au contraire la confrontation stérile de points de vue."
categories:
- big data
- BigData
---
Pour peu que lon parte du principe simple que le citoyen fait les mauvais choix parce quil est mal informé (logique à lorigine de la représentation du rôle de la presse libre dans les démocraties), alors Internet devrait sonner le début dune ère de connaissance pure, et de triomphe de la vérité scientifique. Et là, apparaissent les fake news, et tout seffondre.

View File

@ -8,8 +8,6 @@ authors:
date: "2017-05-28"
slug: "engager_2050"
description: "La Génération 2050 porte une double charge : redonner espoir et avancer malgré les décombres."
categories:
- Europe
---
## Résumé

View File

@ -1,14 +0,0 @@
---
layout: default
title: Les 9 Cercles
description: "Les 9 Cercles"
---
{% for category in site.categories %}
{{ category | first }}
{% for posts in category %}
{% for post in posts %}
{{ post.title }}
{% endfor %}
{% endfor %}
{% endfor %}

View File

@ -37,6 +37,9 @@
.posts.list h3 {
margin-bottom: 0;
}
.posts.list .post-tags {
display: inline-block;
}
.posts.list .post-date {
margin: 0;
}
@ -44,3 +47,10 @@
.custom-footer {
margin-top: 40px;
}
.headicons {
float: right;
}
.social-icons {
float: right;
}

View File

@ -11,13 +11,6 @@ category: base
<p>Sorry! The page you were trying to view does not exist.</p>
<p>Perhaps you may have error while typing web address. If not, you may tweet me to fix missing link. Thanks!</p>
<div class="text-center">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ site.owner.twitter }}" data-size="large" data-dnt="true">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
{:.text-center}
You may also visit [tags]({{ site.url }}/tags) or [archive]({{ site.url }}/archive) page to browse website contents.
<hr class="gh">

23
syspages/cercles.md Normal file
View File

@ -0,0 +1,23 @@
---
layout: page
title: "Cercles"
permalink: "/cercles/"
description: "Classement par categories"
comments: false
sitemap: false
category: base
---
{% capture site_categories %}{% for cercle in site.categories %}{{ cercle | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
{% assign categories_list = site_categories | split:',' | sort %}
{% for item in (0..site.categories.size) %}{% unless forloop.last %}
{% capture this_word %}{{ categories_list[item] | strip_newlines }}{% endcapture %}
<h2 id="{{ this_word }}">{{ this_word }}</h2>
<ul class="post-list">
{% for post in site.categories[this_word] %}{% if post.title != null %}
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %d, %Y" }}</time></span></a></li>
{% endif %}{% endfor %}
</ul>
{% endunless %}{% endfor %}

View File

@ -3,6 +3,6 @@ title: "Redirecting to Blog"
layout: redirect
sitemap: false
permalink: /news/
redirect_to: /blog/
redirect_to: /textes/
#teaser: SYSTEM GENERATED PAGE FOR PAGE REDIRECT FUNCTION. DO NOT EDIT/RENAME/REMOVE THIS PAGE.
---

View File

@ -1,8 +0,0 @@
---
title: "Redirecting to Curriculum Vitae page"
layout: redirect
sitemap: true
permalink: /resume/
redirect_to: /cv/
#teaser: SYSTEM GENERATED PAGE FOR PAGE REDIRECT FUNCTION. DO NOT EDIT/RENAME/REMOVE THIS PAGE.
---

View File

@ -12,10 +12,23 @@ description: "Les ecrits des Crapauds fous"
{{ post.title }}
</a>
</h3>
{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}
{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}<br>
{% if post.modified.size > 2 %}<span class="post-date indexpg" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>{% else %}<span class="post-date indexpg" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> {{ post.date | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>{% endif %}
{% if post.modified.size > 2 %}
<span class="post-date" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ post.modified | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>
{% else %}
<span class="post-date" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> {{ post.date | date_to_string }}</i> {% if post.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a>{% endif %}</span>
{% endif %}
<span class="post-tags">
{% for tag in post.categories %}
{% if forloop.first %}
<i class="fa fa-tags" title="page tags"></i>
{% endif %}
{{ tag }}
{% unless forloop.last %} &bull; {% endunless %}
{% endfor %}</span>
</div>
{% unless forloop.last %}<hr class="transp">{% endunless %}
{% endfor %}
@ -23,15 +36,15 @@ description: "Les ecrits des Crapauds fous"
<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.url }}/blog/page{{paginator.next_page}}">Older</a>
<a class="pagination-item older" href="{{ site.url }}/textes/page{{paginator.next_page}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.url }}/blog/">Newer</a>
<a class="pagination-item newer" href="{{ site.url }}/textes/">Newer</a>
{% else %}
<a class="pagination-item newer" href="{{ site.url }}/blog/page{{paginator.previous_page}}">Newer</a>
<a class="pagination-item newer" href="{{ site.url }}/textes/page{{paginator.previous_page}}">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>