27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
{{ define "main" }}
|
|
<article class="flex-l flex-wrap justify-between mw8 center ph3">
|
|
<div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes" | default "serif"}} f4 nested-links {{ $.Param "text_color" | default "mid-gray" }} {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl4-l" "pr4-l" }} w-two-thirds-l">
|
|
|
|
<div id="content">{{- .Content -}}</div>
|
|
|
|
{{- partial "ac_choices.html" . -}}
|
|
|
|
{{- partial "tags.html" . -}}
|
|
</div>
|
|
|
|
<aside class="w-third-l mt6-l tc" id="actions">
|
|
{{- partial "menu-contextual.html" . -}}
|
|
|
|
{{ $section := .Site.GetPage "section" .Section }}
|
|
{{ $user := eq .Section "users" }}
|
|
{{ if not $user }}
|
|
<label class="dib mb2 br-pill f6 link dim white bg-dark-gray pointer db pa3"
|
|
for="cover">
|
|
{{ T (print .Section ".cover") }}
|
|
</label>
|
|
<input class="dn" id="cover" name="cover" type="file" data-section="{{ .Section }}"/>
|
|
{{ end }}
|
|
</aside>
|
|
</article>
|
|
{{ end }}
|