From 81a2e4993e944ee9de0f123194f5841b8024f12b Mon Sep 17 00:00:00 2001 From: baoliang Date: Tue, 23 Oct 2018 10:24:35 +0800 Subject: [PATCH] init --- news/templates/news/details.html | 10 +++++----- portal/static/portal/css/style.css | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/news/templates/news/details.html b/news/templates/news/details.html index 76dca86..13c2727 100644 --- a/news/templates/news/details.html +++ b/news/templates/news/details.html @@ -14,13 +14,13 @@

{{ n.title }}

- 作者:{{ n.author }}   - 来源:{{ n.source }}   - 发布时间:{{ n.created }}   - 点击数:{{ n.hit_count }} + 作者: {{ n.author }}   + 来源: {{ n.source }}   + 发布时间: {{ n.created }}   + 点击数: {{ n.hit_count }}

-

{{ n.content|safe }}

+
{{ n.content|safe }}
diff --git a/portal/static/portal/css/style.css b/portal/static/portal/css/style.css index e2e5e77..dd58a27 100644 --- a/portal/static/portal/css/style.css +++ b/portal/static/portal/css/style.css @@ -932,3 +932,6 @@ img { color: #666; } +.article-content p { + text-indent: 2em; +}