From d91787589bfd7541a99032cc23243165dc1572c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 9 Aug 2013 08:25:16 +0200 Subject: fix #113 - reading time --- tpl/css/style.css | 4 ++++ tpl/home.twig | 1 + 2 files changed, 5 insertions(+) (limited to 'tpl') diff --git a/tpl/css/style.css b/tpl/css/style.css index d23c1896..de82a822 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -241,4 +241,8 @@ a, a:hover, a:visited { footer { clear: both; +} + +.reading-time { + font-size: 13px; } \ No newline at end of file diff --git a/tpl/home.twig b/tpl/home.twig index a6da641f..03f9f70d 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -19,6 +19,7 @@
  • +
  • {{ entry.content| getReadingTime }} min
  • {{ entry.content|striptags|slice(0, 300) }}...

    -- cgit v1.2.3