Skip to content

Commit

Permalink
add author page
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Wickham authored and Thomas Wickham committed Mar 16, 2019
1 parent 4542db8 commit 91fc869
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ defaults:
# Site navigation
navigation_header:
Home: /
# Elements: /elements/
Blog: /blog/
Categories: /categories/
# Search: /search/
Authors: /authors/
#Categories: /categories/

navigation_footer:
Created by David Darnes: https://darn.es
Expand All @@ -82,6 +81,7 @@ kramdown:
input: GFM
syntax_highlighter: rouge
theme: alembic-jekyll-theme

plugins:
- jekyll-toc
- jekyll-feed
Expand Down
14 changes: 12 additions & 2 deletions _data/authors.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

crafter_anonyme:
hidden: true
name: Crafter Anonyme
email: [email protected]
site: https://crafterscircle.io
Expand All @@ -11,17 +12,26 @@ thomas_wickham:
site: https://www.cafe-craft.fr
twitter: mackwic
image: twi_mini_hc.jpg
image_large: twi.jpg

christohpe_thibaut:
christophe_thibaut:
name: Christophe THIBAUT
email: [email protected]
site: https://crafterscircle.io/
twitter: Tof_
image: enso.png
image_large: enso.png

antoine_boileau:
name: Antoine BOILEAU
email: [email protected]
email: [email protected]
site: https://crafterscircle.io/
twitter: antoineboileau
image: enso.png
image_large: enso.png

# XXX: I don't know how to make an automatic list of authors
all:
- thomas_wickham
- antoine_boileau
- christophe_thibaut
12 changes: 12 additions & 0 deletions authors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: page
title: Authors
permalink: /authors/
---

<ul>
{% for key_author in site.data.authors.all %}
{% assign author = site.data.authors[key_author] %}
<li>{{ author.name }}</li>
{% endfor %}
</ul>
12 changes: 12 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,15 @@ layout: page
Voici un blog par des software crafters.

Ils sont là pour raconter des choses, ce qui leur plait en vrai. Nous verrons ce que ce blog devient.

<ul class="list list--posts">
{% for page in site.posts limit:3 %}
<li class="item item--post">
<article class="article article--post typeset">
<h3><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h3>
{% include post-meta.html %}
{{ page.excerpt | truncatewords: 60 | markdownify }}
</article>
</li>
{% endfor %}
</ul>

0 comments on commit 91fc869

Please sign in to comment.