w3 org html validation

This commit is contained in:
Hamid Reza Mohammadi 2022-12-19 21:01:26 +03:30
parent c31dfc85cc
commit 0e722cc3a6
2 changed files with 20 additions and 20 deletions

View File

@ -7,14 +7,14 @@
<!DOCTYPE html>
<html lang="@Model.HtmlLanguage" dir="rtl">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
@Html.Raw(ViewData["Title"])
</title>
<link href="/css/p8.css?version=52" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
<link href="/css/p8.css?version=52" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/favicon.ico?version=1" type="image/x-icon">
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml">
<script src="/lib/jquery/dist/jquery.min.js"></script>
<script src="/js/bk.js?version=36"></script>
<script>
@ -30,16 +30,16 @@
@if (Model.GanjoorPage != null && Model.GanjoorPage.NoIndex)
{
<meta name="robots" content="noindex, nofollow" />
<meta name="robots" content="noindex, nofollow">
}
@if (Model.IsHomePage)
{
<meta name="description" content="جستجو در شعر فارسی" />
<meta name="description" content="جستجو در شعر فارسی">
}
else
{
<link rel="canonical" href="@Model.CanonicalUrl" />
<link rel="canonical" href="@Model.CanonicalUrl">
if (Model.IsPoemPage)
{
<script>
@ -62,7 +62,7 @@
@if (Model.IsCatPage && Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0)
{
<link rel="stylesheet" href="/css/leaflet.css" />
<link rel="stylesheet" href="/css/leaflet.css">
<style>
.leaflet-container {
background-color: #c5e8ff;
@ -79,7 +79,7 @@
@if (Model.IsPoemPage && Model.GanjoorPage.Poem.GeoDateTags.Length > 0)
{
<link rel="stylesheet" href="/css/leaflet.css" />
<link rel="stylesheet" href="/css/leaflet.css">
<style>
.leaflet-container {
background-color: #c5e8ff;

View File

@ -1,15 +1,15 @@
@model GanjooRazor.Pages.IndexModel
@using DNTPersianUtils.Core
<div id="hdr">
<h1><a href="/" title="گنجور"><img src="/image/gdap.png" alt="گنجور" class="home-logo" /></a></h1>
<h1><a href="/" title="گنجور"><img src="/image/gdap.png" alt="گنجور" class="home-logo"></a></h1>
</div>
<div id="fa">
<div class="actionbox">
<form action="/search" method="get" id="searchhorm">
<input type="text" name="s" id="s" placeholder="جستجو" class="inputText" size="35" value="" />
<input type="hidden" name="es" id="es" value="1" />
<input type="text" name="s" id="s" placeholder="جستجو" class="inputText" size="35" value="">
<input type="hidden" name="es" id="es" value="1">
<select name="author" id="author">
<option value="0" selected>در آثار همهٔ سخنوران</option>
@{
@ -19,11 +19,11 @@
}
}
</select>
<input type="submit" value="بیاب" />
<input type="submit" value="بیاب">
</form>
</div>
<partial name="_InlineLoginPartial" model="Model" />
<partial name="_InlineLoginPartial" model="Model">
<div id="main">
<div id="guides">
@ -46,7 +46,7 @@
{
<div class="poet">
<a href="@poet.FullUrl" title="@poet.Name">
<img src="@(GanjooRazor.APIRoot.InternetUrl+poet.ImageUrl)" alt="@poet.Name" />
<img src="@(GanjooRazor.APIRoot.InternetUrl+poet.ImageUrl)" alt="@poet.Name">
</a>
<div class="caption">
<a href="@poet.FullUrl">@poet.Nickname</a>
@ -55,7 +55,7 @@
}
</div>
<div class="clear-both">
<input type="text" id="findpoet" placeholder="جستجوی سخنور" size="35" value="" oninput="onInlineSearch(this.value, 'found-poets', 'poet')" />
<input type="text" id="findpoet" placeholder="جستجوی سخنور" size="35" value="" oninput="onInlineSearch(this.value, 'found-poets', 'poet')">
<div class="spacer" id="found-poets"></div>
</div>
<div class="century" id="cl">
@ -96,7 +96,7 @@
{
<div class="poet" data-value="@poet.Nickname">
<a href="@poet.FullUrl" title="@poet.Name">
<img src="@(GanjooRazor.APIRoot.InternetUrl+poet.ImageUrl)" alt="@poet.Name" />
<img src="@(GanjooRazor.APIRoot.InternetUrl+poet.ImageUrl)" alt="@poet.Name">
</a>
<div class="caption">
<a href="@poet.FullUrl">@poet.Nickname</a>
@ -136,7 +136,7 @@
</div>
<div class="spacer">
<div class="poet">
<a href="/map"><img src="/image/map.gif" alt="نقشهٔ گنجور" /></a>
<a href="/map"><img src="/image/map.gif" alt="نقشهٔ گنجور"></a>
</div>
</div>
@ -146,6 +146,6 @@
</div>
<partial name="_FooterPartial" model=@(new _FooterPartialModel(){StickyEnabled = true}) />
<partial name="_FooterPartial" model=@(new _FooterPartialModel(){StickyEnabled = true})>
</div>