Skip to content
Snippets Groups Projects
Commit 8a5fbed4 authored by alexisben's avatar alexisben
Browse files

posts section

parent 0c2d20ef
No related branches found
No related tags found
No related merge requests found
...@@ -51,9 +51,11 @@ ...@@ -51,9 +51,11 @@
right: 0 right: 0
top: 0 top: 0
div:not(.media) div:not(.media)
h2,
p, p,
a a
max-width: col(6, 9) max-width: col(6, 9)
@else @else
.posts .posts
@include grid(1) @include grid(1)
......
<article class="post"> <article class="post">
<div> <div>
{{- $title := partial "PrepareHTML" .Title -}} {{- $title := partial "PrepareHTML" .Title -}}
<p class="title"><a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">{{ $title }}</a></p> <h2 class="h4"><a href="{{ .Permalink }}" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">{{ $title }}</a></h2>
{{- if (partial "GetTextFromHTML" .Params.description_short) -}}
<p>{{ partial "PrepareHTML" .Params.description_short }}</p>
{{- end -}}
<time datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time> <time datetime="{{ .Date.Format "2006-01-02T15:04" }}">{{ .Date | time.Format ":date_long" }}</time>
</div> </div>
<div class="media"> <div class="media">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment