fix(articles): fix style
This commit is contained in:
parent
70d9b32db4
commit
e2d5ae3db2
4 changed files with 16 additions and 6 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{{ if .Params.featured_image }}
|
||||
{{ $featuredImage = .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
|
||||
{{ end }}
|
||||
{{ $featuredImage := $featuredImage.Fill "400x300 Center" }}
|
||||
{{ $featuredImage := $featuredImage.Fill "465x348 Center" }}
|
||||
<figure>
|
||||
<img alt="" src="{{ $featuredImage.RelPermalink }}" />
|
||||
{{ with .Params.featured_image.caption }}
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<a
|
||||
href="{{ .RelPermalink }}"
|
||||
>
|
||||
{{.Title }}
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h2>
|
||||
<p class="news-item__date">
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
</time>
|
||||
</p>
|
||||
<div class="news-item__summary">
|
||||
{{ .Summary }}...
|
||||
{{ .Summary }}…
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue