diff --git a/GanjooRazor/Pages/_GanjoorPagePartial.cshtml b/GanjooRazor/Pages/_GanjoorPagePartial.cshtml index 13c7e182..0599cdc5 100644 --- a/GanjooRazor/Pages/_GanjoorPagePartial.cshtml +++ b/GanjooRazor/Pages/_GanjoorPagePartial.cshtml @@ -440,6 +440,7 @@ @if ( + !Model.OfflineMode && Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0 ) { @@ -734,7 +735,7 @@ - @if (Model.GanjoorPage.Poem.GeoDateTags.Any()) + @if (!Model.OfflineMode && Model.GanjoorPage.Poem.GeoDateTags.Any()) {
} @@ -1356,7 +1357,7 @@ - @if ((Model.IsCatPage || Model.IsPoetPage) && Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0) + @if (!Model.OfflineMode && (Model.IsCatPage || Model.IsPoetPage) && Model.CategoryPoemGeoDateTags != null && Model.CategoryPoemGeoDateTags.Length > 0) { } - @if (Model.IsPoemPage && Model.GanjoorPage.Poem.GeoDateTags.Length > 0) + @if (!Model.OfflineMode && Model.IsPoemPage && Model.GanjoorPage.Poem.GeoDateTags.Length > 0) {