From 92cc61f4929be33bb520ee626a646f9bdaea5581 Mon Sep 17 00:00:00 2001 From: mose Date: Wed, 30 Aug 2017 19:50:40 +0800 Subject: [PATCH] add readmore link to blog list page ref #6 --- public/css/addon.css | 2 ++ textes/index.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/css/addon.css b/public/css/addon.css index fdaa874..a91af66 100644 --- a/public/css/addon.css +++ b/public/css/addon.css @@ -46,6 +46,7 @@ .post-list li .description { font-size: .9em; } +.posts.list .post .readmore, .post-list li .description .readmore { padding: 0 10px; border: 1px solid #90a959; @@ -54,6 +55,7 @@ white-space: nowrap; font-size: .8em; } +.posts.list .post .readmore:hover, .post-list li .description .readmore:hover { color: #000; background-color: #90a959; diff --git a/textes/index.html b/textes/index.html index 5ae6fac..51666c2 100644 --- a/textes/index.html +++ b/textes/index.html @@ -12,7 +12,8 @@ description: "Les ecrits des Crapauds fous" {{ post.title }} - {{ post.description | markdownify | remove: '

' | remove: '

' }}
+ {{ post.description | markdownify | remove: '

' | remove: '

' }} + lire la suite
{% if post.modified.size > 2 %} {{ post.modified | date_to_string }} {% if post.category contains "featured" %}{% endif %}