diff options
author | Yue Yang <g1enyy0ung@gmail.com> | 2021-02-23 06:13:14 +0300 |
---|---|---|
committer | Yue Yang <g1enyy0ung@gmail.com> | 2021-02-23 06:13:14 +0300 |
commit | 86c3a5c0c37edf517ae4ef627176c84017b9775f (patch) | |
tree | 349e4c31f397dcf351c6eadd0e48d2787f059496 /layouts | |
parent | b3a37fe7c1777eb4faa98fa7e4aea997fffe110b (diff) |
Add param reversePostAndAside
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a3d3a86..2c2822d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,7 +17,7 @@ {{ end }} {{ define "main" }} -<div class="ui relaxed grid dream-grid dream-grid-single"> +<div class="ui relaxed grid dream-grid dream-grid-single"{{ if .Site.Params.reversePostAndAside }}style="flex-direction: row-reverse;"{{ end }}> <aside class="sixteen wide mobile sixteen wide tablet four wide computer column dream-single-aside"> <!-- len <nav id="TableOfContents"></nav> == 32 --> {{ if ge (len .TableOfContents) 33 }} |