view fixes
This commit is contained in:
15
fet2020/templates/posts/partials/_article_row.html
Normal file
15
fet2020/templates/posts/partials/_article_row.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<a href="{{post.url}}">
|
||||
|
||||
<article class="article-row">
|
||||
|
||||
<div class="article-row-content">
|
||||
<h1 class="article-row-content-header">{{post.title}}</h1>
|
||||
|
||||
<p class="article-row-content-description">{{post.subtitle}}</p>
|
||||
|
||||
<p class="article-row-content-author">{{post.author}}</p>
|
||||
<time class="article-row-content-time" datetime="2008-02-14 20:00">{{post.public_date}}</time>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</a>
|
||||
10
fet2020/templates/posts/partials/_date_box.html
Normal file
10
fet2020/templates/posts/partials/_date_box.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<a href ="">
|
||||
<div class="date-box">
|
||||
<span>
|
||||
<span class="date-badge badge primary" style="">
|
||||
<span class="date-badge-day">16</span>
|
||||
<span class="date-badge-month">Apr</span>
|
||||
</span></span>
|
||||
<span class="date-text"><strong>{{post.title}}</strong></span>
|
||||
|
||||
</div></a>
|
||||
@@ -1,8 +1,8 @@
|
||||
<a href="{% url 'posts.show' post.slug %}">
|
||||
<div class="news-hero padding-bottom-1" style="background-image:url('{{post.imageurl}}')">
|
||||
<div class="news-hero-text">
|
||||
<h1>{{post.title}}</h1>
|
||||
<h2>{{post.subtitle}}</h2>{{post}}
|
||||
<div class="news-hero padding-bottom-1" style="background-image:url('{{post.imageurl}}')">
|
||||
<div class="news-hero-text">
|
||||
<h1>{{post.title}}</h1>
|
||||
<h2>{{post.subtitle}}</h2>{{post}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user