Support right-to-left languages
This commit is contained in:
@@ -52,6 +52,7 @@ Search page:
|
||||
- Minimal design
|
||||
- RSS with full content
|
||||
- Responsive
|
||||
- Right-to-left languages
|
||||
- SEO
|
||||
- Safari and Firefox Reader View support
|
||||
- Search
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<html{{ if eq .Language.LanguageDirection "rtl" }} dir="rtl"{{ end }} lang="{{ .Site.LanguageCode }}">
|
||||
{{ partial "paige-head.html" . }}
|
||||
<body class="d-flex flex-column">
|
||||
<div class="container flex-fill">
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="container-fluid">
|
||||
<form action="{{ .Page.RelPermalink }}" method="get">
|
||||
<form action="{{ .Page.RelPermalink }}" dir="auto" method="get">
|
||||
<div class="justify-content-center mb-3 row">
|
||||
<div class="col col-sm-8 col-md-7 col-lg-6 col-xl-5 col-xxl-4">
|
||||
<input aria-label="Query" class="form-control" id="query" name="q" type="search" placeholder="Query">
|
||||
|
Reference in New Issue
Block a user