Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 684 Bytes

dates.md

File metadata and controls

33 lines (28 loc) · 684 Bytes
layout title permalink content-type
post
By Date
/dates/
eg
<style> .date-content a { text-decoration: none; color: #4183c4; } .date-content a:hover { text-decoration: underline; color: #4183c4; } </style> {% assign postsByDay = site.posts | group_by_exp:"post", "post.date | date: '%d-%B-%Y'" %}
{% for day in postsByDay %}
  <h3 id="{{ day.name }}">{{ day.name }}</h3>
      {% for post in day.items %}
        <li id="date-content" style="padding-bottom: 0.6em; list-style: none;"><a href="{{ post.url }}">{{ post.title }}</a></li>
      {% endfor %}
{% endfor %}

    <br/>
    <br/>