{% comment %} This will use the ordinal plugin when it's available. This is not possible on github pages (unless built locally and pushed there). {% endcomment %}

Posted by {% if node.email %} {{ node.author }} {% else %} {{ node.author }} {% endif %} {% assign ordinalize=node.date | date: "%-d" %} on {{ node.date | date: "%B %-d" }}{% include ordinal.html %} {{ node.date | date: "%Y" }}