removing HtmlLanguage as it causes confusions
This commit is contained in:
parent
893a918f44
commit
f466b4c5c6
@ -5,7 +5,7 @@
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="@Model.HtmlLanguage" dir="rtl">
|
||||
<html lang="fa-IR" dir="rtl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
using Azure;
|
||||
using GanjooRazor.Utils;
|
||||
using GanjooRazor.Utils;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||
@ -517,12 +516,6 @@ namespace GanjooRazor.Pages
|
||||
/// </summary>
|
||||
public List<GanjoorCenturyViewModel> PoetGroups { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// html language
|
||||
/// </summary>
|
||||
public string HtmlLanguage { get; set; } = "fa-IR";
|
||||
|
||||
|
||||
|
||||
private void _prepareNextPre()
|
||||
{
|
||||
@ -726,7 +719,6 @@ namespace GanjooRazor.Pages
|
||||
|
||||
if (IsPoemPage)
|
||||
{
|
||||
HtmlLanguage = string.IsNullOrEmpty(GanjoorPage.Poem.Language) ? "fa-IR" : GanjoorPage.Poem.Language;
|
||||
if (bool.Parse(Configuration["BannersEnabled"]))
|
||||
{
|
||||
var bannerQuery = await _httpClient.GetAsync($"{APIRoot.Url}/api/banners/random");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user