crazy-toads.github.io/index.md

4.0 KiB

layout permalink title description
default index.html Personal Homepage of foo boo Blogging on ....

lanyon-plus

Based on Jekyll theme: Lanyon by Mark Otto

  • add-ons by Samir Amin
  • [Site features]({{ site.url}}/disclosure#i-classfa-fa-thumbs-o-up-credits-for-site-featuresi)
  • License: Open sourced under the MIT license.

Maximum four posts on front page where first two posts are featured, and remaining are date sorted.

{% if site.twitter_widget_id %}

{% else %} Twitter stream will show up here if `twitter_widget_id` is present is `_config.yml`. [Demo](http://sbamin.com) {% endif %}
{% for post in site.categories.featured limit:2 %}

{{ post.title }}

{% if post.modified.size > 2 %}<span class="post-date indexpg" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"> {{ post.modified | date_to_string }} {% else %}<span class="post-date indexpg" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"> {{ post.date | date_to_string }} {% endif %}

{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '

' | remove: '

' }}{% else %}{{ post.excerpt | markdownify | remove: '

' | remove: '

' }}{% endif %} Read more...


{% endfor %}
{% for post in site.posts limit:2 %} {% unless post.category contains "featured" %}

{{ post.title }}

{% if post.modified.size > 2 %}<span class="post-date indexpg" itemprop="dateModified" content="{{ post.modified | date: "%Y-%m-%d" }}"> {{ post.modified | date_to_string }}{% else %}<span class="post-date indexpg" itemprop="datePublished" content="{{ post.date | date: "%Y-%m-%d" }}"> {{ post.date | date_to_string }}{% endif %}

{% if post.description.size > 140 %}{{ post.description | markdownify | remove: '

' | remove: '

' }}{% else %}{{ post.excerpt | markdownify | remove: '

' | remove: '

' }}{% endif %} Read more...

{% unless forloop.last %}
{% endunless %} {% endunless %} {% endfor %}

Blog Tags