Skip to content
Snippets Groups Projects
Commit 0664f18e authored by Olivia206's avatar Olivia206
Browse files

articles list by category

parent 7377d9b4
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,22 @@
@include grid(2, md)
@include grid(3, xl)
.categories__term
@if $posts-layout-list
@include media-breakpoint-down(md)
.posts
grid-gap: $spacing3
article
border: none
padding-bottom: 0
margin-bottom: 0
flex-direction: column
div:not(.media)
margin-left: unset
margin-top: $spacing0
.media
width: 100%
.posts__page
@include media-breakpoint-down(md)
.document-content
......
<a href="{{ .Permalink }}" class="title" aria-label="{{ i18n "commons.more_aria" (dict "Title" .Title) }}">{{ partial "PrepareHTML" .Title }}</a>
<div class="media">
{{- if .Params.image -}}
{{- partial "commons/image.html"
(dict
"image" .Params.image
"alt" .Title
"mobile" "351x291"
"tablet" "334x167"
"desktop" "634x317"
) -}}
{{- else -}}
{{- partial "commons/image-default.html" (dict "class" "img-fluid") -}}
{{- end -}}
</div>
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