https://github.com/LuisGC/blog
Tip revision: 3f1e6dcb65ed38478393150db09320c5e7c5c1e2 authored by CircleCI on 18 February 2018, 16:35:41 UTC
Generated site on Sun Feb 18 16:35:41 UTC 2018 [ci skip]
Generated site on Sun Feb 18 16:35:41 UTC 2018 [ci skip]
Tip revision: 3f1e6dc
archive.ftl
<#include "header.ftl">
<#include "menu.ftl">
<div id="main">
<ul class="posts">
<header>
<h1>Archive</h1>
</header>
<#list published_posts as post>
<#if (last_month)??>
<#if post.date?string("MMMM yyyy") != last_month>
</ul>
<h4>${post.date?string("MMMM yyyy")}</h4>
<ul class="post">
</#if>
<#else>
<h4>${post.date?string("MMMM yyyy")}</h4>
<ul class="post">
</#if>
<li>
<article data-file="${content.rootpath}${post.noExtensionUri!post.uri}" data-target="article">
<header>
<p>${post.date?string("dd")} - <a href="${content.rootpath}${post.noExtensionUri!post.uri}"><#escape x as x?xml>${post.title}</#escape></a> <#if ((config.site_includeReadTime!'true')?boolean == true)> <div class="eta"></div></#if></p>
<header>
</article>
</li>
<#assign last_month = post.date?string("MMMM yyyy")>
</#list>
</ul>
</div>
<#include "commons/sidebar.ftl">
<#include "footer.ftl">