mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
Google-Bescheibungen aller Seiten
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
|
||||
const START = `<p>Martin Sietzen und Dr. Jakob Brüssermann<br>Theodor-Springmann-Stiftung<br>Hirschgasse 2 <br><br>69120 Heidelberg<br><a href="mailto:info@musenalm.de">info@musenalm.de</a></p>`
|
||||
|
||||
const BESCHREIBUNG = "Musenalm: Verzeichnis deutschsprachiger Almanache des 18. und 19. Jahrhunderts. Kontakt zur Redaktion."
|
||||
|
||||
func init() {
|
||||
m.Register(func(app core.App) error {
|
||||
collection, err := app.FindCollectionByNameOrId(
|
||||
@@ -20,6 +22,7 @@ func init() {
|
||||
record := pagemodels.NewTextPage(core.NewRecord(collection))
|
||||
record.SetTitle("Kontakt")
|
||||
record.SetText(START)
|
||||
record.SetDescription(BESCHREIBUNG)
|
||||
|
||||
if err := app.Save(record); err != nil {
|
||||
app.Logger().Error("Failed to save record", "error", err, "record", record)
|
||||
|
||||
Reference in New Issue
Block a user