mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Added SEO descriptions and accurate titles
This commit is contained in:
@@ -47,8 +47,8 @@ public class Briefecontroller : Controller {
|
||||
var prevmeta = meta != lib.MetasByDate.First() ? lib.MetasByDate.ItemRef(lib.MetasByDate.IndexOf(meta) - 1) : null;
|
||||
|
||||
// More Settings and variables
|
||||
ViewData["Title"] = "Brief " + id.ToLower();
|
||||
ViewData["SEODescription"] = "Johann Georg Hamann: Kommentierte Briefausgabe. Brief " + id.ToLower();
|
||||
ViewData["Title"] = "HKB – Brief " + id.ToLower();
|
||||
ViewData["SEODescription"] = "HKB – Brief " + id.ToLower();
|
||||
ViewData["Filename"] = "HKB_" + meta.Autopsic + ".pdf";
|
||||
if (!string.IsNullOrWhiteSpace(search)) {
|
||||
ViewData["Mark"] = search;
|
||||
|
||||
@@ -45,7 +45,7 @@ public class RegisterController : Controller {
|
||||
var category = "neuzeit";
|
||||
var defaultLetter = "A";
|
||||
var title = "Allgemeines Register";
|
||||
ViewData["Title"] = "Allgemeines Register";
|
||||
ViewData["Title"] = "HKB – Allgemeines Register";
|
||||
ViewData["SEODescription"] = "Johann Georg Hamann: Kommentierte Briefausgabe. Personen-, Sach- und Ortsregister.";
|
||||
|
||||
// Normalisation and validation
|
||||
@@ -79,7 +79,7 @@ public class RegisterController : Controller {
|
||||
var category = "bibel";
|
||||
var defaultLetter = "AT";
|
||||
var title = "Bibelstellenregister";
|
||||
ViewData["Title"] = "Bibelstellenregister";
|
||||
ViewData["Title"] = "HKB – Bibelstellenregister";
|
||||
ViewData["SEODescription"] = "Johann Georg Hamann: Kommentierte Briefausgabe. Bibelstellenregister.";
|
||||
|
||||
// Normalisation and Validation
|
||||
@@ -112,7 +112,7 @@ public class RegisterController : Controller {
|
||||
var category = "forschung";
|
||||
var defaultLetter = "A";
|
||||
var title = "Forschungsbibliographie";
|
||||
ViewData["Title"] = "Forschungsbibliographie";
|
||||
ViewData["Title"] = "HKB – Forschungsbibliographie";
|
||||
ViewData["SEODescription"] = "Johann Georg Hamann: Kommentierte Briefausgabe. Forschungsbibliographie.";
|
||||
|
||||
// Normalisation and Validation
|
||||
|
||||
Reference in New Issue
Block a user