RTL support (#29)

This commit is contained in:
Khosrow Moossavi
2018-06-18 13:55:42 -04:00
committed by Luiz F. A. de Prá
parent 7207be04f0
commit fe847fb152
10 changed files with 83 additions and 18 deletions

View File

@@ -18,6 +18,10 @@
<link rel="stylesheet" href="//cdn.rawgit.com/necolas/normalize.css/master/normalize.css">
<link rel="stylesheet" href="{{ "css/style.min.css" | absURL }}">
{{ if .Site.Params.rtl}}
<link rel="stylesheet" href="{{ "css/style-rtl.min.css" | absURL }}">
{{ end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
@@ -33,7 +37,7 @@
{{ .Hugo.Generator }}
</head>
<body>
<body class="{{ if .Site.Params.rtl }}rtl{{ end }}">
<main class="wrapper">
{{ partial "header.html" . }}