Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/g1eny0ung/hugo-theme-dream.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue Yang <g1enyy0ung@gmail.com>2021-02-23 06:13:14 +0300
committerYue Yang <g1enyy0ung@gmail.com>2021-02-23 06:13:14 +0300
commit86c3a5c0c37edf517ae4ef627176c84017b9775f (patch)
tree349e4c31f397dcf351c6eadd0e48d2787f059496 /layouts
parentb3a37fe7c1777eb4faa98fa7e4aea997fffe110b (diff)
Add param reversePostAndAside
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
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 }}