---
layout: default
---

<div class="posts">
  {% for post in site.posts %}
    <article class="post">

      <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
    	  <div class="date">{{ post.date | date: "%B %d, %Y" }}
        <span> • {% if post.lang == "pt" %}Português{% else %}English{% endif %}</span>
      </div>

      <div class="entry">
        {{ post.excerpt | strip_html | truncatewords: 50 }}
      </div>

      <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
    </article>
  {% endfor %}
</div>
---
layout: default
---

<div class="posts">
  {% for post in site.posts %}
    <article class="post">

      <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
    	  <div class="date">{{ post.date | date: "%B %d, %Y" }}
        <span> • {% if post.lang == "pt_BR" %}Português{% else %}English{% endif %}</span>
      </div>

      <div class="entry">
        {{ post.excerpt | strip_html | truncatewords: 50 }}
      </div>

      <a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
    </article>
  {% endfor %}
</div>
Change lang tag from pt to pt_BR
Change lang tag from pt to pt_BR
