24 lines
961 B
HTML
24 lines
961 B
HTML
|
{{- define "main" -}}
|
||
|
|
||
|
{{- $justify := false -}}
|
||
|
{{- if eq .Params.justify true -}} {{- $justify = true -}} {{- end -}}
|
||
|
<div id="white">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-8 col-lg-offset-2">
|
||
|
{{- partial "article-header.html" . -}}
|
||
|
<h4>{{ .Title }}</h4>
|
||
|
{{- with .Params.cover -}}<p><img class="img-responsive" src="{{- . | safeURL -}}" alt="{{ .Title }}"></p>{{- end -}}
|
||
|
<div {{- if $justify -}}style="text-align: justify;" {{- end -}}>
|
||
|
{{- .Content -}}
|
||
|
</div>
|
||
|
{{- partial "article-labels.html" . -}}
|
||
|
{{- partial "article-license.html" . -}}
|
||
|
{{- partial "article-author.html" . -}}
|
||
|
</div>
|
||
|
{{- partial "article-bottom-navigation.html" . -}}
|
||
|
{{- partial "article-comments.html" . -}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{- end -}}
|