design/_includes/sessions.list.html
author ymh <ymh.work@gmail.com>
Wed, 19 Jul 2017 15:57:13 +0200
changeset 119 8ff8e2aee0f9
parent 115 b5d11572f1ed
child 121 21ac67ebf9e7
permissions -rw-r--r--
add parameter to filter session and note by updated date. Add pagination on sessions and notes. add read only endpoint at root level to list notes

{% for session in site.data.sessions %}
<div class="mb-3">
	<h5 class="mb-0">
		<a href="/">{{ session.title }}</a>
		
		<span class="ml-1 fa-stack text-muted" style="font-size:0.5em;">
			<i class="fa fa-cloud fa-stack-2x" aria-hidden="true"></i>
			<i class="fa fa-check fa-stack-1x fa-inverse" aria-hidden="true"></i>
		</span>

	</h5>

	<small class="text-muted">
		{% if include.show_author %}
			{{ site.data.members | map: 'name' | sample  }}
		{% endif %}

		{{ session.first | date: "%d/%m/%Y %H:%M" }}{{ session.last | date: "%d/%m/%Y %H:%M" }}
	</small>

	<div>
		{{ session.annotations }} notes / <span><small class="text-muted"><a href="compare-1.html">comparer avec une autre session</a></small></span>
	</div>

	<div>{{ session.description  }}</div>

	<div class="keywords">
	<i class="fa fa-book" aria-hidden="true"></i> mots-clés : 

	{% for keyword in session.keywords  %}
		<span class="badge badge-default">{{ keyword }}</span>
	{% endfor  %}
	</div>

	<hr>
	
</div>
{% endfor %}