diff --git a/_layouts/index.html b/_layouts/index.html index 440048a246ae63c3149221571cf89b9d0e04c6f6..b19a66c3dcb8ae08ee8702ec7568a9f9fc8d0914 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -77,7 +77,7 @@ layout: default <span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span> <div class="content"> - {{ post.content | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a> + {{ post.content | strip_html | normalize_whitespace | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a> </div> </div> {% endfor %} diff --git a/_sass/elixir/_layout.scss b/_sass/elixir/_layout.scss index d2cfe7cfd39cee69baa4e18eaf285381940b1acc..39e921aae0881f4409538113fe4b9efa23c10e0b 100644 --- a/_sass/elixir/_layout.scss +++ b/_sass/elixir/_layout.scss @@ -82,6 +82,7 @@ #right-column { padding-left: 20px; + padding-right: 20px; min-width: 220px; margin-top: 23px; } @@ -169,7 +170,7 @@ table { } div.post { - width: 80%; + width: 100%; border-left: solid 5px #f4f4f4; border-bottom: solid 2px #f4f4f4; padding-left: 10px; @@ -177,13 +178,20 @@ div.post { margin-bottom: 30px; .post-title { - font-size: 23px; + font-size: 20px; text-decoration: none; font-weight: 600; } + .content { + font-size: 15px; + font-weight: 500; + } + .post-date { font-size: smaller; + font-weight: 200; + color: #555; } } diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index a0919a22c96e955ef2bfbda155c145fc2267cbe6..0aa4ed1b6739f862aab4e2f928e7396a89ecd603 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "jekyll-elixir-theme" - spec.version = "0.9.19" + spec.version = "0.9.20" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"]