add date
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -114,4 +114,13 @@ p{
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
}
|
||||
.blog-date{
|
||||
time{
|
||||
font-family:$roboto_light;
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size:0.8em;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
<section class="news">
|
||||
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
|
||||
<h3><a href="#">{{header.title}}</a></h3>
|
||||
|
||||
<div class="txt">
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ page.date|date("c") }}">
|
||||
<i class="fa fa-calendar"></i> {{ page.date|date(system.pages.dateformat.short) }}
|
||||
<i class="fa fa-calendar"></i> {{ page.header.date_start|date(system.pages.dateformat.short) }}
|
||||
|
||||
{% if page.header.date_end %}
|
||||
|
||||
- <i class="fa fa-calendar"></i> {{ page.header.date_end|date(system.pages.dateformat.short) }}
|
||||
|
||||
{% endif %}
|
||||
</time>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user