Skip to content

Instantly share code, notes, and snippets.

View timbuening's full-sized avatar
🖖

Tim Büning timbuening

🖖
View GitHub Profile
@timbuening
timbuening / postlist.twig
Last active February 6, 2021 21:49
Simple TWIG for Jekyll to create Table with posts ordered by year and publish date
{% for post in site.posts %}
{% assign currentdate = post.date | date: "%Y" %}
{% if currentdate != date %}
<table id="y{{currentdate}}"><h2>{{ currentdate }}</h2></table>
{% assign date = currentdate %}
{% endif %}
<table><tr><td>{{ post.date | date: "%-d %B %Y" }} &nbsp;&nbsp;</td><td><a href="{{ post.url }}">{{ post.title }}</a></td></tr></table>
{% endfor %}

Keybase proof

I hereby claim:

  • I am timbuening on github.
  • I am timbuening (https://keybase.io/timbuening) on keybase.
  • I have a public key whose fingerprint is 1F73 5B3B D536 C72D A87A 27CB F438 E6C7 9DFF 26AF

To claim this, I am signing this object: