mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-30 14:35:19 -04:00
Add RTL support for multilingual mode (#47)
Usage: in site config: languages: ar: languagedirection: rtl title: مدونتي weight: 2 * ref: https://gohugo.io/content-management/multilingual/#configure-languages
This commit is contained in:
parent
a41f09bb99
commit
a153a7cc6f
5 changed files with 34 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language }}">
|
||||
<html lang="{{ .Site.Language }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue