{% comment %} Edit /_data/sb_whatsnew.yml to generate the content of this sidebar {% endcomment %}{% for new in site.data.sb_whatsnew %}{% assign found = 0 %}{% for post in site.posts %}{% if post.slug == new.key %}
{{ post.date | date: "%Y-%m-%d" }} {% if new.tag %}{{ new.tag }} {% endif %}{% if new.title %}{{ new.title }}{% else %}{{ post.title }}{% endif %}
{% assign found = 1 %}{% break %}{% endif %}{% endfor %}{% if found == 0 %}#error# {{ new.key }} not found
{% endif %}{% endfor %}