{% comment %} Recent Posts Displayed here. {% endcomment %}

Recent Posts

{% for post in site.posts limit: 3 %}
{% if post.image.thumb %} {% capture image_path %}assets/images/content/{{post.image.thumb}}{% endcapture %} {% capture full_path %}/assets/images/content/thumbs/{{post.image.thumb}}{% endcapture %} {% responsive_image_block %} template: _includes/thumb.html path: {{ image_path }} fullpath: {{ full_path }} {% if post.title %} title: {{ post.title }} alt: {{ post.title }} {% endif %} {% endresponsive_image_block %} {% elsif post.image.path %} {{post.title}} {% else %} {{post.title}} {% endif %}
{{post.title | truncate: 40}}
{{post.date | date: "%A, %B %-d, %Y" }}
{% endfor %}
{% comment %} Other Posts {% endcomment %}

Other Posts

{% assign posts = site.posts | sample:5 %} {% for post in posts %}
{% if post.image.thumb %} {% capture image_path %}{{site.blog_images_dir}}{{post.image.thumb}}{% endcapture %} {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %} {% responsive_image_block %} template: _includes/thumb.html path: {{ image_path }} fullpath: {{ full_path }} {% if post.title %} title: {{ post.title }} alt: {{ post.title }} {% endif %} {% endresponsive_image_block %} {% elsif post.image.path %} {{post.title}} {% else %} {{post.title}} {% endif %}
{{post.title | truncate: 40}}
{{post.date | date: "%A, %B %-d, %Y" }}
{% endfor %}
{% if site.data.settings.blog.sidebar.custom-include %} {% include {{site.data.settings.blog.sidebar.custom-include}} %} {% endif %}