some initial tuning

This commit is contained in:
mose 2017-08-22 15:33:39 +08:00
parent cea277a372
commit 05f6c68389
13 changed files with 36 additions and 270 deletions

View File

@ -33,31 +33,23 @@ exclude: ["lib", "config.rb", "Gemfile", "Capfile", "Gemfile.lock", "config", "l
# About/contact
author:
name: Foo Boo
name: Le Crapaud Fou
url: https://twitter.com/abcd
avatar: foo.png
avatar: crapaud-fou.png
#email:
# Owner/author information
owner:
name: Foo Boo
avatar: foo.png
name: Le Crapaud Fou
avatar: crapaud-fou.png
#email:
# Use the coder's toolbox at http://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii to encode your description into XML string
description:
# Social networking links used in footer. Update and remove as you like.
twitter: abcd
facebook:
github: xyz123abc
stackexchange:
linkedin: https://www.linkedin.com/in/foo
instagram:
github: crazy-toad
flickr:
tumblr:
google_plus: https://plus.google.com/+foo
# orcid and google scholar IDs are different than standard username.
orcid: xyz123abc
gscholar: xyz123abc
## sidebar links:
# For external links add external: true
@ -65,16 +57,9 @@ links:
- title: <i class="iconside iconm-home"></i> Home
url: /
- title: <i class="iconside iconm-user"></i> About
url: /about/
url: /apropos/
- title: <i class="iconside iconm-quill"></i> Blog
url: /blog/
- title: <i class="fa fa-tags"></i> Tags
url: /tags/
- title: <i class="fa fa-archive"></i> Archive
url: /archive/
- title: <i class="iconside iconm-wordpress"></i> Old Blog
url: https://foo.wordpress.com
external: true
- title: <i class="iconside iconm-envelop"></i> Contact
url: /contact/
- title: <i class="iconside iconm-twitter"></i> Twitter

View File

@ -3,13 +3,8 @@
class: fa fa-twitter-square
title: "Follow me @foo"
- name: Google Plus
url: https://plus.google.com/+foo
class: fa fa-google-plus-square
title: "Follow me +foo"
- name: GitHub
url: https://github.com/xyz123abc
url: https://github.com/crazy-toad
class: fa fa-github-square
title: Code repository

View File

@ -33,31 +33,23 @@ exclude: ["lib", "config.rb", "Gemfile", "Capfile", "Gemfile.lock", "config", "l
# About/contact
author:
name: Foo Boo
name: Le Crapaud Fou
url: https://twitter.com/abcd
avatar: foo.png
avatar: crapaud-fou.png
#email:
# Owner/author information
owner:
name: Foo Boo
avatar: foo.png
name: Le Crapaud Fou
avatar: crapaud-fou.png
#email:
# Use the coder's toolbox at http://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=us_ascii to encode your description into XML string
description:
# Social networking links used in footer. Update and remove as you like.
twitter: abcd
facebook:
github: xyz123abc
stackexchange:
linkedin: https://www.linkedin.com/in/foo
instagram:
github: crazy-toad
flickr:
tumblr:
google_plus: https://plus.google.com/+foo
# orcid and google scholar IDs are different than standard username.
orcid: xyz123abc
gscholar: xyz123abc
## sidebar links:
# For external links add external: true
@ -65,16 +57,9 @@ links:
- title: <i class="iconside iconm-home"></i> Home
url: /
- title: <i class="iconside iconm-user"></i> About
url: /about/
url: /apropos/
- title: <i class="iconside iconm-quill"></i> Blog
url: /blog/
- title: <i class="fa fa-tags"></i> Tags
url: /tags/
- title: <i class="fa fa-archive"></i> Archive
url: /archive/
- title: <i class="iconside iconm-wordpress"></i> Old Blog
url: https://foo.wordpress.com
external: true
- title: <i class="iconside iconm-envelop"></i> Contact
url: /contact/
- title: <i class="iconside iconm-twitter"></i> Twitter

View File

@ -1,6 +1,5 @@
<span class="social-icons"><a href="https://twitter.com/share?text={{ page.title }}&amp;url={{ site.url }}{{ page.url }}&amp;via={{ site.owner.twitter }}" class="social-icons" target="_blank" title="Share on twitter"> <i class="fa fa-twitter meta"></i></a>
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" class="social-icons" target="_blank" title="Share on Google+"> <i class="fa fa-google-plus"></i></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&amp;url={{ site.url }}{{ page.url }}" class="social-icons" target="_blank" title="Share on LinkedIn"> <i class="fa fa-linkedin"></i></a>
{% if page.comments %}<a href="{{ site.url }}{{ page.url }}#disqus_thread" class="social-icons" title="Comments"><i class="fa fa-comments"></i></a>{% endif %}
{% if page.category contains "featured" %}<a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons" style="vertical-align: top;"></i></a>{% endif %}
<a href="javascript:window.print()" class="social-icons" title="Printer friendly format"><i class="fa fa-print"></i></a>

View File

@ -50,8 +50,6 @@
</form>
</div>
</div>
{% else %}
Search box will show up here if Google Custom Search key is set in <code>_config.yml</code>
{% endif %}
</div>

View File

@ -21,7 +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 }}/about" rel="me" title="About"><i class="iconm iconm-user"></i></a></small>
<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>
</div>

View File

@ -1,18 +0,0 @@
---
layout: page
title: About
permalink: /about/
---
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](https://jekyllrb.com/)
You can find the source code for Minima at GitHub:
[jekyll][jekyll-organization] /
[minima](https://github.com/jekyll/minima)
You can find the source code for Jekyll at GitHub:
[jekyll][jekyll-organization] /
[jekyll](https://github.com/jekyll/jekyll)
[jekyll-organization]: https://github.com/jekyll

9
apropos.md Normal file
View File

@ -0,0 +1,9 @@
---
layout: page
title: A propos des Crapauds fous
permalink: /apropos/
---
Here we explain how this website is managed:
- link to github for contributions

BIN
images/crapaud-fou.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@ -1,79 +1,28 @@
---
layout: default
permalink: index.html
title: Personal Homepage of foo boo
description: "Blogging on ...."
title: Les Crapauds fous
description: "La Fable Moderne d'un Monde Libre et juste un peu Fou"
---
## [lanyon-plus](https://github.com/dyndna/lanyon-plus)
## La théorie
Based on Jekyll theme: [Lanyon](http://lanyon.getpoole.com) by [**Mark Otto**](https://github.com/mdo)
Les crapauds vivent dans une zone et se reproduisent dans dautres. Chaque année, de manière grégaire, tous migrent dans le même sens. Lorsque nous construisons de nouvelles routes en travers, ils se font massivement écraser. Sauf que… quelques-uns vont dans lautre sens, ou trouvent les tunnels que des écologistes font creuser pour eux sous les routes. Parce quils saventurent dans des directions non conventionnelles, ces crapauds fous inventent des voies davenir et sauvent lespèce.
* add-ons by [Samir Amin](http://sbamin.com)
* [Site features]({{ site.url}}/disclosure#i-classfa-fa-thumbs-o-up-credits-for-site-featuresi)
* License: Open sourced under the [MIT license](http://sbamin.com/disclosure/#theme-major-credit--license).
Dans le genre humain, on pense à Christophe Colomb, parti à lOuest pour trouver les Indes. Ou à Tim Berners-Lee, qui a transformé un réseau à usage militaire en lInternet que nous utilisons tous aujourd'hui.
Maximum four posts on front page where first two posts are featured, and remaining are date sorted.
Les crapauds fous, ce sont ces individus qui « hackent » lavenir. Guidés par leur seul instinct, ils partent dans des directions absurdes et reviennent ouvrir aux autres les tunnels quils ont trouvés. Nombreux meurent écrasés, mais sans eux, pas dévolution possible de lespèce.
{% if site.twitter_widget_id %}
<div class="text-tweets">
<div class="tweets">
<a class="twitter-timeline"
data-dnt="true"
width="600"
height="250"
href="https://twitter.com/{{ site.owner.twitter }}"
data-widget-id="{{ site.twitter_widget_id }}"
data-tweet-limit="2"
data-chrome="noheader nofooter noborders noscrollbar transparent">
Recent Tweets</a>
</div>
<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>
{% else %}
Twitter stream will show up here if `twitter_widget_id` is present is `_config.yml`. [Demo](http://sbamin.com)
{% endif %}
## La quête du Crapaud Fou
<div class="posts">
{% for post in site.categories.featured limit:2 %}
<div class="post">
<h1 class="post-title">
<a href="{{ site.url }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
En novembre 2016, 3 crapauds fous se lancent dans l'écriture d'un Manifeste : Thanh Nghiem, Cédric Villani, Florent Massot.
{% 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> <a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a></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> <a href="{{ site.url }}/featured" title="Featured posts"><i class="fa fa-paperclip" title="Featured" class="social-icons"></i></a></span>{% endif %}
Face au tsunami qui menace de balayer l'espèce, il faut provoquer un déclic. "La survie de l'espèce passe par un changement de comportement." Une quête de 6 mois, racontée dans un livre, et un Manifeste qui commence à percuter.
{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}{% else %}{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}{% endif %} <a href="{{ site.url }}{{ post.url }}" title="Read more"><strong>Read more...</strong></a>
</div>
<hr class="transp">
{% endfor %}
</div>
Voir <a href="{{ site.url }}/pdf/argu-manifeste-crapaud.pdf">Argu Manifeste Crapaud <i class="iconside iconm-file-pdf"> </i></a>
<div class="posts">
{% for post in site.posts limit:2 %}
{% unless post.category contains "featured" %}
<div class="post">
<h1 class="post-title">
<a href="{{ site.url }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
## Première cohorte
{% 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></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></span>{% endif %}
34 crapauds fous se sont réunis à la Fondation des Treilles du 3 au 7 avril 2017.
{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '<p>' | remove: '</p>' }}{% else %}{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}{% endif %} <a href="{{ site.url }}{{ post.url }}" title="Read more"><strong>Read more...</strong></a>
</div>
{% unless forloop.last %}<hr class="transp">{% endunless %}
{% endunless %}
{% endfor %}
</div>
<h3 class="post-title">
<div class="pagination" style="margin: 0.5rem;">
<a class="pagination-item older" href="{{ site.url }}/blog"><i class="fa fa-edit"> Blog</i></a>
<a class="pagination-item newer" href="{{ site.url }}/tags"><i class="fa fa-tags"> Tags</i></a>
</div>
</h3>
De 21 à 75 ans, découverte, exploration de nouvelles façons d'être, de collaborer, de faire culture. Compte rendu des rencontres des Treilles

View File

@ -1,36 +0,0 @@
---
layout: page
permalink: /cv/
title: Curriculum Vitae
category: base
published: true
description: "Curriculum Vitae / Resume"
tags:
- cv
- resume
- "foo boo"
comments: false
imagesummary: foo.png
modified: "2016-02-13"
sitemap:
priority: 0.7
changefreq: 'monthly'
lastmod: 2016-02-13
style: |
.container {
max-width: 48rem;
}
---
<span class="social-icons">
<a href="https://twitter.com/share?text=Curriculum Vitae - {{ site.owner.name }}&amp;url={{ site.url }}/cv&amp;via={{ site.owner.twitter }}" class="social-icons" target="_blank" title="Share on twitter"> <i class="fa fa-twitter meta"></i></a>
<a href="https://plus.google.com/share?url={{ site.url }}/cv" class="social-icons" target="_blank" title="Share on Google+"> <i class="fa fa-google-plus"></i></a>
<a href="{{ site.owner.linkedin }}" class="social-icons" title="LinkedIn profile"><i class="fa fa-linkedin"></i></a>
<a href="{{ site.url }}/files/cv.pdf" class="social-icons" title="Printer friendly format"><i class="fa fa-print"></i></a>
</span>
{:.text-center}
[Publications]({{ site.url }}/about/publications/) \| [ORCID profile](https://orcid.org/{{ site.owner.orcid }}) \| [Google Scholar profile](https://scholar.google.com/citations?user={{ site.owner.gscholar }}&hl=en)
<!-- Alternaetly, user html5 embed tag -->
<iframe src="{{ site.url }}/files/cv.pdf" width="100%" style="height: 100vh;"></iframe>

View File

@ -1,100 +0,0 @@
---
layout: page
permalink: /readme/
title: "README - How to set up lanyon-plus jekyll theme"
description: "README for setting up lanyon-plus jekyll theme on github pages or custom domain having static website"
---
{% raw %}
## lanyon-plus
### Based on Jekyll theme: [Lanyon](http://lanyon.getpoole.com) by [Mark Otto](https://github.com/mdo)
* add-ons by [Samir B. Amin](https://sbamin.com)
* License: Open sourced under the [MIT license](LICENSE.md).
### Required edits:
#### _config.yml
* Edit lines where text string `foo` is present with relevant information.
* Add relevant author and owner information
* For proper sidebar, meta info below post title, and footer bar, add at least twitter, google plus info under `owner` and `sidebar` section.
* Uncomment and add relevant user names/keys to enable features, e.g., google analytics, disqus comments, twitter widget, google custom search.
#### CNAME
* Read [Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/) for set-up details.
* If you are hosting website on domain other than `github.io`, rename `CNAME.sample` file to `CNAME`, and add your custom domain name, e.g., `example.com` (only one domain is allowed), otherwise remove `CNAME` file if you want to host at default `github.io`.
* If you are hosting website on `github.io`, replace `example.com` with `https://<github-username>.github.io/<repository_name>` (for project site) or `https://<github-username>.github.io` (for user site) under `site.url` and `site.urlimg` in `_config.yml` and `_prose.yml` file.
#### .travis.yml
* See more at [https://travis-ci.org/getting_started](https://travis-ci.org/getting_started)
#### _prose.yml
* [https://github.com/prose/prose/wiki/Getting-Started](https://github.com/prose/prose/wiki/Getting-Started)
* Edit `example.com` with your domain name.
* You may edit names for custom categories.
#### robots.txt
* replace `example.com` with your valid url.
* Edit search engine inclusion/exclusion if desired.
#### page specific edits
* `_data/socialmedia.html`
* Replace user `foo` with appropriate username
* `_includes/`
* Check if file paths for appropriate urls have valid css files, scripts, icons, and images in `head.html` and `head_minimal.html`, else comment html tags which are not being used.
* Also, check if variables (twitter, google plus, linkedin, google analytics key and disqus username, etc.) are specified in `_config.yml` located under root path.
* You may edit `meta_info.html`, `footer.html` and similar include files to add/remove elements in page meta bar, footer, etc.
* For publications page, `mypubs.html` and `myaoi.html` are trimmed outputs from [zot_bib_web](https://github.com/davidswelt/zot_bib_web). Github pages can not dynamically build these pages. Alternately, you may export `bib` format for publications under `/files/` directory which can be parsed dynamically using [bibbase.org](http://bibbase.org)
* `_includes/footer.html`: Edit copyright information as needed.
* `_layouts`
* To add/remove/reorder page/post contents, edit `default.html` plus `page.html` or `post.html`.
* `_posts`
* Live blog posts goes here with markdown formatted post. File name format must have following date-title format `yyyy-mm-dd-title.md` for jekyll to render blog post correctly.
* YAML sample header shows all available options. Minimal required elements are: layout, title and date. Date tag overrides date given in post file name.
* `blog/index.html`
* Edit blog title and description.
* `images/`
* Under `icons` directory, keep appropriate sized favicons and thumbnails as specified in `_includes/head.html` and `_includes/head_minimal.html`
* Also, keep `favicon.png` and `favicon.ico` in root directory.
* Final, `images/icons/` should have following images with exact filenames and image size as specified in respective filenames. These images can be generated using online *favicon generator*. Replace `foo` with your site title or other name if desired.
~~~
example.com/images/icons/apple-touch-icon-precomposed.png
example.com/images/icons/apple-touch-icon-72x72-precomposed.png
example.com/images/icons/apple-touch-icon-114x114-precomposed.png
example.com/images/icons/apple-touch-icon-144x144-precomposed.png
example.com/images/icons/apple-touch-icon-180x180.png
example.com/images/icons/android-icon-192x192.png
~~~
* `pages/about.md`
* YAML variable `imagefeature` shoud have image path relative to `images/` directory, i.e., `foo.png` will link to `example.com/images/foo.png`
* Specify `site.owner.avatar` and `site.owner.twitter` along with other variables in `_config.yml`
* `syspages/`:
* Edit page title and description in YAML front matter.
* For web search to work, specify [Google Custom Search Engine](https://cse.google.com) API key for `google_search` variable.
* Tag generation is experimental and dynamic size for tag box may need to be adjusted if you have more than 100 posts with one or two frequently occurring tags.
* All `{% for ... %}...{% endfor %}` loop operations will increase site build time, and remove such features (tags, meta info, related posts, etc.) under `_includes`, `_layouts` and `syspages` if required.
* `pages/contact.md`
* Edit page title and description.
* Edit address, driving direction url, etc.
* `pages/cv.md`
* Edit `_config.yml` to add twitter, google plus, linkedin, google scholar, ORCID profile info under owner heading.
* Add pdf at `{{ site.url }}/cv/cv.pdf`
* `pages/publications.md`
* Add your publications at `/files/mypubs.bib` and `_includes/mypubs.html`. See above under `_includes` for more.
* `pages/disclosure.md`
* Appreciated if you keep relevant credits in disclosure page.
* `humans.txt`
* Replace `foo` with your name.
* `rfeed.xml`
* Not required unless you are cross-posting about R language on blog aggregation site(s).
END
{% endraw %}

Binary file not shown.