customizable content width; added grid layout; article images fixed height and cropped in article preview; article list is now always a grid for a cleaner css
This commit is contained in:
parent
c3af040dc9
commit
a103d30a57
3 changed files with 37 additions and 15 deletions
|
|
@ -5,7 +5,7 @@
|
|||
{{ $postsList := where .Site.RegularPages "Section" "in" $postsDir }}
|
||||
|
||||
{{/* pagination */}}
|
||||
<div class="postlist">
|
||||
<div class="postlist {{ if .Site.Params.gridView }}gridView{{ end }}">
|
||||
{{ range (.Paginate $postsList).Pages }}
|
||||
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue