Static CMS v2.0 ()

- [x] Update auf Static CMS v2.0
- [x] aktualisierte Shortcodes (schließt )
- [x] aktualisierte Previews (schließt )
- Ordnerunterstützung
- [x] vervollständigte Seiten
- [x] Aufräumarbeiten

Reviewed-on: https://git.cantorgymnasium.de/gcg/gcg-website/pulls/226
This commit is contained in:
2023-04-19 22:44:06 +02:00
parent 58c4c5abc7
commit 13dde42eb0
316 changed files with 2832 additions and 1978 deletions
content/german
abiturienten
about
anmeldeformular
anmeldung
author
begabte
blog
cantorfora
cantorpreis
chronikseiten
forms
ganztagsangebote
kontakt
pages
projektwoche
schulchronik
superhaufen
termine
wettbewerbe
data/de
layouts
_default
abiturienten
anmeldeformular
author
cantorfora
ganztagsangebote
partials
projektwoche
schulchronik
shortcodes
superhaufen
static/admin

@ -0,0 +1,26 @@
import { PageHeader } from "./components/index.js";
const PagePreview = ({ widgetFor, entry }) => {
return [
PageHeader(entry),
h(
"section",
{ className: "section-sm" },
h(
"div",
{ className: "container" },
h(
"div",
{ className: "row" },
h(
"div",
{ className: "col-12" },
h("div", { className: "content" }, widgetFor("body"))
)
)
)
),
];
};
export default PagePreview;