diff --git a/sass/overrides.scss b/sass/overrides.scss index d6eca11..fde0101 100644 --- a/sass/overrides.scss +++ b/sass/overrides.scss @@ -6,3 +6,15 @@ h5:before, h6:before { content: none; } + +.floatingchat-container-wrap, +.floatingchat-container-wrap-mobi { + left: auto !important; + right: 25px !important; +} + +.floating-chat-kofi-popup-iframe, +.floating-chat-kofi-popup-iframe-mobi { + left: auto !important; + right: 25px !important; +} diff --git a/templates/index.html b/templates/index.html index 26ef73a..a65c1e0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,13 +26,19 @@ {% set blog_section = get_section(path="blog/_index.md") %} {% if blog_section.pages | length > 0 %} +

Blog

{% set latest = blog_section.pages | first %}

{{ latest.title }}

{% if latest.date %}

{% endif %} - {{ latest.content | safe }} + {% if latest.summary %} + {{ latest.summary | safe }} + {% else %} +

{{ latest.content | striptags | truncate(length=400) }}

+ {% endif %} +

Read more →

{% if blog_section.pages | length > 1 %}