mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-10-25 22:52:32 +02: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:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language }}">
|
||||
<html lang="{{ .Site.Language }}" class="direction-{{ .Language.LanguageDirection | default "ltr" }}">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user