Skip to content
Snippets Groups Projects
Commit 95683e14 authored by alexisben's avatar alexisben
Browse files

Merge branch 'feature/summary-position' of...

Merge branch 'feature/summary-position' of github.com:noesya/osuny-hugo-theme-aaa into feature/summary-position
parents ed77f349 135cbfc9
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,12 @@
aside
order: 2
padding: 0 half($grid-gutter-sm)
margin-bottom: $spacing3
@include media-breakpoint-up(desktop)
.hero
.content
> h1, > hgroup
width: auto
.paper-sidebar
@include container-margin-left
margin-top: 0
......
......@@ -14,7 +14,7 @@ params:
breadcrumb:
position: hero-start # hero-start | hero-end | after-hero | none
summary:
position: hero # content | hero
position: content # content | hero
home:
toc:
disabled: true
......
......@@ -7,6 +7,7 @@
<div class="container">
<div class="content">
{{ partial "papers/summary.html" . }}
{{ partial "papers/abstract.html" . }}
{{ partial "papers/authors.html" . }}
{{ partial "papers/body.html" . }}
......
{{ $summary := (partial "PrepareText" .Params.summary) }}
{{- if and (eq site.Params.summary.position "content") $summary -}}
<section>
<h2 class="lead">{{ $summary }}</h2>
</section>
{{ end }}
\ No newline at end of file
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