Skip to content

Commit 9254e7c

Browse files
committed
book: render the Persian translation right-to-left
The Persian translation needs to be rendered right-to-left, as suggested in progit/progit2-fa#1 (comment). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent caa9023 commit 9254e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h1>Redirecting&hellip;</h1>
9393
<div class="inner">
9494
<div id="content-wrapper">
9595
{{ partial "sidebar.html" . }}
96-
<div id="content">
96+
<div id="content"{{ if eq "fa" .Params.book.language_code }} dir="rtl"{{ end }}>
9797
{{ if isset .Params.book "front_page" }}
9898
{{ partial "book-front-page.html" . }}
9999
{{ else }}

0 commit comments

Comments
 (0)