---
layout: default
---

<div class="posts">
  {% for post in site.posts %}
    <article class="post">    
      
      {% if post.external-url %}
        <h1><a href="{{ post.external-url }}">{{ post.title }}</a></h1>
        
        <div class="entry">
          {{ post.content }}
        </div>
      {% else %}
        <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
  
        <div class="entry">
          {{ post.content | truncatewords:40}}
          <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
        </div>
      {% endif %}

      <!--div class="date">
        {{ post.date | date: "%e %B %Y" }}
      </div-->

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

---
layout: default
---

<div class="posts">
  {% for post in site.posts %}
    <article class="post">    
      
      {% if post.external-url %}
        <h1><a href="{{ post.external-url }}">{{ post.title }}</a></h1>
        
        <div class="entry">
          {{ post.content }}
          <span class="read-more">External</span>
        </div>
      {% else %}
        <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
  
        <div class="entry">
          {{ post.content | truncatewords:40}}
          <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
        </div>
      {% endif %}

      <!--div class="date">
        {{ post.date | date: "%e %B %Y" }}
      </div-->

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

Add external indicator to external link posts
Add external indicator to external link posts