@page @model DiwanPageModel @{ Layout = "_Layout"; } @if (Model.DiwanPage == null) { return; } @section Head { @if ((Model.DiwanPage != null && Model.DiwanPage.NoIndex) || !string.IsNullOrEmpty(Model.PinterestUrl)) { } @if (Model.DiwanPage != null) { if (Model.IsPoemPage) { } } @if ((Model.IsCatPage || Model.IsPoetPage) && Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0) { @if (!Model.OfflineMode) { } } @if (Model.IsPoemPage && Model.DiwanPage.Poem.GeoDateTags.Length > 0) { @if (!Model.OfflineMode) { } } } @if (Model.OfflineMode) {

آپ دیوان کا آف لائن نسخہ دیکھ رہے ہیں.

یہ دیوان کا پرانی معلومات والا آف لائن نسخہ ہے.

انٹرنیٹ پر منحصر کچھ سہولتیں ہٹا دی گئی ہیں اور کچھ شاید ٹھیک کام نہ کریں.

رکنیت اور حاشیہ لکھنے کی سہولت بند ہے؛ یہاں درج کی گئی کوئی بھی چیز محفوظ نہیں رہے گی.

دیوان کا تازہ نسخہ انٹرنیٹ پر دستیاب ہے.

} else if (Model.ReadOnlyMode) {

دیوان اس وقت صرف پڑھنے کے لیے دستیاب ہے.

رکنیت اور حاشیہ لکھنے کی سہولت بند ہے؛ یہاں درج کی گئی کوئی بھی چیز محفوظ نہیں رہے گی.

}
@if (!string.IsNullOrEmpty(Model.LastError)) {
@Model.LastError
} else { @if (Model.IsPoetPage) { } else if (Model.IsCatPage) { } else if (Model.IsPoemPage) { } else { } }
@{ if (!string.IsNullOrEmpty(Model.PinterestUrl)) { // PinterestUrl comes straight from the untrusted "pinterest_url" query string // (see DiwanPage.cshtml.cs). It must never be emitted with @Html.Raw into a // ". Instead it is serialized // as a JSON string literal (which escapes '<', '>', '&', quotes, etc.) and then // URL-encoded again before being appended to href values. } } @if (Model.IsPoemPage) { } @if (ViewData["TrackingScript"] != null && !string.IsNullOrEmpty(ViewData["TrackingScript"].ToString())) { @Html.Raw(ViewData["TrackingScript"]) }