My public repository: GitHub - verity-s/verity-s.github.io: Enables / disables WiFi networks on T-Mobile home internet Arcadyan KVD21 gateway
Build fails with this error, and I have no idea what is going on. The post.html contents:
---
layout: base
---
<section>
<br />
{{ content }}
<h1>
Latest posts
</h1>
<ul>
{% for post in site.posts %}
<h2><a href="{{ post.url }}">{{ post.title | escape }}</a>
</h2>
<h6>
<span>
{{ post.date | date_to_string }} •
{% assign words = post.content | number_of_words %}
{% if words < 360 %}
1 min read
{% else %}
{{ words | divided_by:180 }} min read
{% endif %}
</span>
</h6>
{{ post.excerpt }}
{% endfor %}
</ul>
</section>
I further edited the post.html to try and change the post date format to YYYY-MM-DD, adding to _config.yml:
date_format: "%Y-%m-%d"
And then I hope to have in post.html:
{{ post.date | date: site.date_format | date_to_string }} •
But no, same exact Liquid error. Any guidance is appreciated!