summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-10-13 08:04:37 -0600
committerDan Allen <dan.j.allen@gmail.com>2016-10-13 08:04:37 -0600
commit97dabcafd1aa3eb78760a70eb82c28120030adba (patch)
tree48747cbea34798dcc93e4447adcc892e3356171b /data
parentbef2857a74f03f2edcf37abdf94456c0bf8752a8 (diff)
introduce more robust parsing of column specs triple
- column widths are treated as ratios - handle all types of values, including empty string a non-string - value with two entries (<50% >50%) is interpretted as an empty center column - value with one entry (100%) is interpretted as a single, center column - simplfy sample value in theme
Diffstat (limited to 'data')
-rw-r--r--data/themes/default-theme.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml
index bf7124af..6ed984b7 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -252,7 +252,7 @@ footer:
# * {section-title}
# * {section-or-chapter-title}
recto:
- #columns: "<50%,=0%,>50%"
+ #columns: "<50% =0% >50%"
right:
content: '{page-number}'
#content: '{section-or-chapter-title} | {page-number}'
@@ -260,7 +260,7 @@ footer:
#center:
# content: '{page-number}'
verso:
- #columns: "<50%,=0%,>50%"
+ #columns: $footer_recto_columns
left:
content: '{page-number}'
#content: '{page-number} | {chapter-title}'