---
layout: page
title: CanDIG Blog
subtitle: Blog posts from the CanDIG team
permalink: blog/index.html
sitemap:
  changefreq: 'weekly'
  priority: 0.75
---

<!-- {% for post in site.posts %} -->
<!-- <h1> {{post.title}} </h1> -->
<!-- {% endfor %} -->


{% for post in site.posts %}
<section class="blog-entries">
  {% if post.header-media.size > 0 %}
  <header class="media">
    {{post.header-media}}
  </header
  {% endif %}
  <h1 class="post-title"><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{{post.title}}</a></h1>
  <div class="blog-data">
    <div class="author-data">
        <!-- Not currently implemented - remove link for now (see https://github.com/CanDIG/candig.github.io/issues/42), implement when needed -->
        <!-- <a class="post-author" href="{% if site.baseurl == "/" %}/author{% else %}{{ site.baseurl }}/author{% endif %}">{{ post.author }}</a> -->
        {{ post.author }}
    </div>
    {% if post.tags.size > 0 %}
      <ul class="tags">
        {% for tag in post.tags %}
          <li><a href="{% if site.baseurl == "/" %}/tag.html#{{ tag }}{% else %}{{ site.baseurl }}/tag.html#{{ tag }}{% endif %}" class="tag">{{ tag }}</a></li>
        {% endfor %}
      </ul>
    {% endif %}
  <p class="post-content">{{ post.content | split:"<!-- more -->" | first | strip_html | truncatewords: 85 }}</p>
  <a class="read-more" href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">Continue...</a>
  </div>


</section>

{% endfor %}

{'avg_line_length': 35.13333333333333, 'max_line_length': 160, 'alphanum_fraction': 0.5464895635673624, 'licenses': ['Apache-2.0'], 'repository_name': 'CanDIG/candig.github.io', 'path': '_pages/blog/index.html', 'size': 1581, 'lang': 'HTML'}