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

fixed diploma presentation

parent 69ae4650
No related branches found
No related tags found
No related merge requests found
......@@ -154,4 +154,15 @@ ul.diplomas
ol.programs
li
@include grid(2, desktop)
align-items: start
\ No newline at end of file
align-items: start
a
@include media-breakpoint-between(sm, desktop)
display: flex
margin-right: $spacing0
&::after
bottom: unset
+ p
margin-top: $spacing0
@include media-breakpoint-down(sm)
&::after
transform: translateY(50%)
\ No newline at end of file
......@@ -8,13 +8,16 @@
{{- range .Pages -}}
<li>
{{- $title := partial "PrepareHTML" .Title -}}
{{/* TODO: check title class relevance */}}
<a href="{{ .Permalink }}" class="title" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
{{- $title -}}
</a>
<p class="description">
{{/* TODO: replace with description_short */}}
{{- partial "PrepareHTML" .Params.presentation -}}
</p>
{{ if .Params.presentation }}
<p class="description">
{{/* TODO: replace with description_short */}}
{{- partial "PrepareHTML" .Params.presentation -}}
</p>
{{ end }}
</li>
{{- end -}}
</ol>
......
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