Skip to content

Instantly share code, notes, and snippets.

@gatespace
Created November 8, 2017 11:44
Show Gist options
  • Save gatespace/db3daf858b7bb18621b2974a3c606696 to your computer and use it in GitHub Desktop.
Save gatespace/db3daf858b7bb18621b2974a3c606696 to your computer and use it in GitHub Desktop.
Jekyll でCSVファイルを読み込んでHTMLとして表示 ref: http://qiita.com/gatespace/items/2ba2268f2cb4880eb66c
{% for event in site.data.events %}
<div class="previous-event">
{% if event.name != 'blank' %}
<a href="{{event.url}}" target="_blank">
{% if event.cover %}<img src="{{ site.baseurl }}/assets/images/site-cover/{{event.cover}}" alt="{{event.name}}"><br>{% endif %}
{{event.name}}
{% if event.date %} at {{event.date}}{% endif %}
</a>
{% endif %}
</div>
{% endfor %}
name url cover date
JAWS DAYS 2013 http://jawsdays2013.jaws-ug.jp/ jawsdays2013.png 2013.3.15-16
JAWS DAYS 2014 http://jawsdays2014.jaws-ug.jp/ jawsdays2014.png 2014.3.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment