{{ post.title }}
-{{ post.title }}
+-
-{% if post.tags.names %} - Tags: - {% for tag in post.tags.names %} - {{ tag }} - {% endfor %} -{% endif %} -
-diff --git a/blog/static/css/new.css b/blog/static/css/new.css index 4eda498..cfbce16 100644 --- a/blog/static/css/new.css +++ b/blog/static/css/new.css @@ -6,14 +6,22 @@ a { font-family: 'Open Sans', sans-serif; } + .block { + background: #FFFFFF; + box-shadow: 0 0.005em 0.01em 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + //display: block; + margin: 0 0 10px 0; + padding: 15px; + } #content { margin: 10px 0 0 0; } - .date { + .date, .tag { color: #999999; + display: inline-block; font-size: 12px; letter-spacing: 1px; - //float: left; + margin-right: 10px; } input#button-search { background: url('https://touchit.com.ua/static/images/icons/search-25.png') no-repeat center center; @@ -95,14 +103,9 @@ a { } .sidemenu { - box-shadow: 0 0.005em 0.01em 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12); box-sizing: border-box; - background: #FFFFFF; - display: block; float: left; - //margin-left: 10px; margin-left: -240px; - padding: 15px; width: 240px; } .sidemenu h2 { @@ -126,4 +129,4 @@ a { padding: 6px 12px; width: 200px; vertical-align: top; - } \ No newline at end of file + } diff --git a/blog/templates/blog/base.html b/blog/templates/blog/base.html index 23d68e3..73fa3e9 100644 --- a/blog/templates/blog/base.html +++ b/blog/templates/blog/base.html @@ -6,6 +6,7 @@ + @@ -22,20 +23,24 @@
-{% if post.tags.names %} - Tags: - {% for tag in post.tags.names %} - {{ tag }} - {% endfor %} -{% endif %} -
-