--- layout: default --- {% assign l = site.data.locale.en %} {% include navbar.html %}
{% if page.images %} {% assign thumbnail = page.images | first %} {% if thumbnail[1] %} {% assign thumbnail = thumbnail[1] %} {% endif %} {% if thumbnail.url %} {% assign thumbnail_url = thumbnail.url %} {% else %} {% assign thumbnail_url = "/static/blog/" | append: thumbnail.path %} {% endif %} {% if thumbnail.full %} {% assign thumbnail_url = thumbnail_url | replace: ".", "_full." %} {% endif %}
{{ thumbnail.caption }}
{% endif %}

{{ page.title }}

{% if page.path contains "_drafts/" %} {% assign title_length = page.title | size %} {% if title_length > 60 %}

Title is too long ({{ title_length }} > 60)

{% endif %} {% unless page.content contains "" %}

Missing excerpt (use <!-- more -->)

{% endunless %} {% assign num_images = page.images | size %} {% if num_images == 0 %}

Missing a cover image. It uses page.images[0].

{% endif %} {% endif %} {% assign wordcount = page.content | number_of_words %} {{ wordcount | divided_by: 238 }} min read ({{ wordcount }} words)
{{ content }}

{{ l.index.likeWhatYouSee | default: en.likeWhatYouSee }}