@@ -289,5 +296,7 @@
-
{{ .Site.Params.copyright | emojify }}
+{{ .Site.Params.copyright | markdownify | emojify }}
-
@@ -63,8 +63,8 @@
diff --git a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content
deleted file mode 100644
index 8ff7f19a..00000000
--- a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content
+++ /dev/null
@@ -1,805 +0,0 @@
-/* typography */
-@import url("https://cantorgymnasium.de/plugins/fira/fira.css");
-body {
- line-height: 1.2;
- font-family: "Fira Sans", sans-serif;
- -webkit-font-smoothing: antialiased;
- font-size: 15px;
- color: #5c5c77; }
-
-p, .paragraph {
- font-weight: 400;
- color: #5c5c77;
- font-size: 15px;
- line-height: 1.9;
- font-family: "Fira Sans", sans-serif; }
-
-h1, h2, h3, h4, h5, h6 {
- color: #1e1e4b;
- font-family: "Fira Sans", sans-serif;
- font-weight: 900;
- line-height: 1.2; }
-
-h1, .h1 {
- font-size: 60px; }
- @media (max-width: 575px) {
- h1, .h1 {
- font-size: 45px; } }
-h2, .h2 {
- font-size: 40px; }
- @media (max-width: 575px) {
- h2, .h2 {
- font-size: 30px; } }
-h3, .h3 {
- font-size: 25px; }
- @media (max-width: 575px) {
- h3, .h3 {
- font-size: 20px; } }
-h4, .h4 {
- font-size: 20px; }
- @media (max-width: 575px) {
- h4, .h4 {
- font-size: 18px; } }
-h5, .h5 {
- font-size: 18px; }
- @media (max-width: 575px) {
- h5, .h5 {
- font-size: 16px; } }
-h6, .h6 {
- font-size: 16px; }
- @media (max-width: 575px) {
- h6, .h6 {
- font-size: 14px; } }
-/* Button style */
-.btn {
- font-size: 16px;
- font-family: "Fira Sans", sans-serif;
- padding: 15px 40px;
- border-radius: 0;
- font-weight: 500;
- border: 0;
- position: relative;
- z-index: 1;
- transition: .2s ease;
- overflow: hidden;
- white-space: nowrap; }
- .btn::before {
- position: absolute;
- content: "";
- height: 80%;
- width: 100%;
- left: 0;
- bottom: 10%;
- z-index: -1;
- transition: transform .2s ease-in-out;
- transform-origin: top;
- transform: scaleY(0); }
- .btn:focus {
- outline: 0;
- box-shadow: none !important; }
- .btn:active {
- box-shadow: none; }
- .btn:hover::before {
- transform: scaleY(1);
- transform-origin: bottom; }
-
-.btn-sm {
- font-size: 14px;
- padding: 10px 35px; }
-
-.btn-xs {
- font-size: 12px;
- padding: 5px 15px; }
-
-.btn-primary {
- background: #ffbc3b;
- color: #fff; }
- .btn-primary::before {
- background: #fff; }
- .btn-primary:active {
- background: #ffbc3b !important;
- color: #ffbc3b; }
- .btn-primary:active::before {
- height: 80%; }
- .btn-primary:hover {
- background: #ffab08;
- color: #ffbc3b; }
-
-.btn-primary:not(:disabled):not(.disabled).active,
-.btn-primary:not(:disabled):not(.disabled):active,
-.show > .btn-primary.dropdown-toggle {
- color: #fff;
- background-color: #ffab08;
- border-color: #ffab08; }
-
-.btn-secondary {
- background: #fff;
- color: #ffbc3b;
- border: 1px solid #fff; }
- .btn-secondary::before {
- background: #ffbc3b; }
- .btn-secondary:active {
- background: #ffbc3b;
- color: #fff;
- border: 1px solid #fff; }
- .btn-secondary:hover {
- background: #fff;
- color: #fff;
- border: 1px solid #fff; }
-
-.btn-primary-outline {
- border: 1px solid #ffbc3b;
- color: #ffbc3b;
- background: transparent; }
- .btn-primary-outline::before {
- background: #fff; }
- .btn-primary-outline:hover {
- background: #ffbc3b;
- color: #ffbc3b; }
- .btn-primary-outline:active {
- background: #ffbc3b;
- color: #fff; }
-
-.input {
- border: 100px; }
-
-body {
- background-color: #fff;
- overflow-x: hidden; }
-
-::selection {
- background: #ffcd6e;
- color: #fff; }
-
-/* preloader */
-.preloader {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: #ffbC3b;
- z-index: 999999;
- display: flex;
- align-items: center;
- justify-content: center; }
-
-ol,
-ul {
- list-style-type: none;
- margin: 0px; }
-
-img {
- vertical-align: middle;
- border: 0; }
-
-a,
-a:hover,
-a:focus {
- text-decoration: none; }
-
-a {
- color: inherit; }
-
-a,
-button,
-select {
- cursor: pointer;
- transition: .2s ease; }
- a:focus,
- button:focus,
- select:focus {
- outline: 0; }
-
-a:hover {
- color: #ffbc3b; }
-
-a.text-primary:hover {
- color: #ffbc3b !important; }
-
-a.text-light:hover {
- color: #ffbc3b !important; }
-
-h4 {
- transition: .2s ease; }
-
-a h4:hover {
- color: #ffbc3b; }
-
-.slick-slide {
- outline: 0; }
-
-.section {
- padding-top: 90px;
- padding-bottom: 90px; }
- .section-sm {
- padding-top: 40px;
- padding-bottom: 40px; }
- .section-title {
- margin-bottom: 30px; }
-
-.bg-cover {
- background-size: cover;
- background-position: center center;
- background-repeat: no-repeat; }
-
-.border-primary {
- border-color: #ededf1 !important; }
-
-/* overlay */
-.overlay {
- position: relative; }
- .overlay::before {
- position: absolute;
- content: '';
- height: 100%;
- width: 100%;
- top: 0;
- left: 0;
- background: #1a1a37;
- opacity: .8; }
-
-.outline-0 {
- outline: 0 !important; }
-
-.d-unset {
- display: unset !important; }
-
-.bg-primary {
- background: #ffbc3b !important; }
-
-.bg-secondary {
- background: #1a1a37 !important; }
-
-.bg-gray {
- background: #f8f8f8; }
-
-.text-primary {
- color: #ffbc3b !important; }
-
-.text-color {
- color: #5c5c77; }
-
-.text-light {
- color: #8585a4 !important; }
-
-.text-lighten {
- color: #d6d6e0 !important; }
-
-.text-muted {
- color: #b5b5b7 !important; }
-
-.text-dark {
- color: #1e1e4b !important; }
-
-.font-secondary {
- font-family: "Fira Sans", sans-serif; }
-
-.mb-10 {
- margin-bottom: 10px !important; }
-
-.mb-20 {
- margin-bottom: 20px !important; }
-
-.mb-30 {
- margin-bottom: 30px !important; }
-
-.mb-40 {
- margin-bottom: 40px !important; }
-
-.mb-50 {
- margin-bottom: 50px !important; }
-
-.mb-60 {
- margin-bottom: 60px !important; }
-
-.mb-70 {
- margin-bottom: 70px !important; }
-
-.mb-80 {
- margin-bottom: 80px !important; }
-
-.mb-90 {
- margin-bottom: 90px !important; }
-
-.mb-100 {
- margin-bottom: 100px !important; }
-
-.pl-150 {
- padding-left: 150px; }
-
-.zindex-1 {
- z-index: 1; }
-
-@media (max-width: 991px) {
- .overflow-md-hidden {
- overflow: hidden; } }
-
-.vertical-align-middle {
- vertical-align: middle; }
-
-.icon-md {
- font-size: 36px; }
-
-/* page title */
-.page-title-section {
- padding: 200px 0 80px; }
-
-.custom-breadcrumb li.nasted {
- position: relative;
- padding-left: 25px; }
- .custom-breadcrumb li.nasted::before {
- position: absolute;
- font-family: "FontAwesome";
- content: "\e649";
- font-size: 20px;
- top: 50%;
- left: -5px;
- color: #fff;
- transform: translateY(-50%); }
-
-/* /page title */
-.list-styled {
- padding-left: 25px; }
- .list-styled li {
- position: relative;
- margin-bottom: 15px; }
- .list-styled li::before {
- position: absolute;
- content: "";
- height: 10px;
- width: 10px;
- border-radius: 50%;
- background: #ffbc3b;
- left: -25px;
- top: 5px; }
-
-textarea.form-control {
- height: 200px;
- padding: 20px; }
-
-.post-thumb-sm {
- max-width: 100px; }
-
-/* pagination */
-.pagination {
- justify-content: center; }
- .pagination .page-item {
- margin: 0 10px; }
- .pagination .page-item.active .page-link {
- background: #ffbc3b;
- color: #fff;
- border-color: #ffbc3b; }
- .pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
- border-radius: 0; }
- .pagination .page-item .page-link {
- color: #5c5c77; }
-
-.content * {
- margin-bottom: 20px; }
-
-.content a {
- text-decoration: underline; }
-
-.content h1,
-.content h2,
-.content h3,
-.content h4,
-.content h5,
-.content h6 {
- margin-bottom: 10px; }
-
-.content ol {
- padding-left: 20px; }
-
-.content ul {
- padding-left: 0; }
- .content ul li {
- position: relative;
- padding-left: 20px;
- margin-bottom: 10px;
- list-style-type: none; }
- .content ul li::before {
- position: absolute;
- content: "\f138";
- font-family: "FontAwesome";
- font-size: 14px;
- left: 0;
- top: 1px;
- color: #ffbc3b;
- transition: .3s ease; }
-
-.content table {
- text-align: left;
- width: 100%;
- max-width: 100%;
- margin-bottom: 1rem;
- border: 1px solid #dee2e6; }
- .content table th,
- .content table td {
- padding: .75rem;
- vertical-align: top;
- border: 1px solid #dee2e6; }
- .content table thead {
- background: #eff1fd; }
- .content table tbody {
- background: #f8f9fe; }
- .content table tbody td {
- text-align: left !important; }
-
-.content blockquote p {
- margin-bottom: 0;
- color: #5c5c77;
- font-style: italic !important; }
-
-.content pre {
- padding: 10px 20px;
- background: #f8f9fe; }
-
-.person-thumb-sm {
- height: 85px;
- width: 85px;
- object-fit: cover; }
-
-summary {
- font-weight: 900;
- margin: -.5em -.5em 0;
- padding: .5em;
- font-size: 20px;
- color: #1a1a37; }
- summary.hover {
- color: #ffbc3b; }
-
-details[open] {
- padding: .5em; }
-
-details[open] summary {
- border-bottom: 1px solid #aaa;
- margin-bottom: .5em; }
-
-@media only screen and (min-width: 768px) {
- .termin-tc {
- width: 25%; } }
-
-#wc-canvas {
- width: 100%;
- height: 600px; }
-
-.top-header {
- font-size: 12px;
- transition: transform .2s ease;
- transform-origin: top;
- font-weight: 600; }
- .top-header.hide {
- transform: scaleY(0);
- transform-origin: top; }
-
-.navigation {
- background: linear-gradient(to right, transparent 50%, #ffbc3b 50%);
- transition: .2s ease; }
- @media (max-width: 991px) {
- .navigation {
- background: #1a1a37; } }
-@media (max-width: 991px) {
- .navbar-collapse {
- background: #1a1a37; } }
-
-.navbar-nav {
- padding-left: 50px;
- background: #ffbc3b; }
- @media (max-width: 991px) {
- .navbar-nav {
- padding-left: 0;
- background: #1a1a37; } }
-.nav-bg {
- background-color: #1a1a37; }
-
-.nav-item {
- margin: 0 15px;
- position: relative; }
- .nav-item .nav-link {
- text-transform: uppercase;
- font-weight: 600; }
- .nav-item::before {
- position: absolute;
- left: 0;
- bottom: 0;
- height: 6px;
- width: 100%;
- content: "";
- background: #fff;
- transform: scaleY(0);
- transform-origin: top;
- transition: transform .3s ease; }
- .nav-item:hover::before, .nav-item.active::before {
- transform: scaleY(1);
- transform-origin: bottom; }
-
-.navbar-dark .navbar-nav .nav-link {
- color: #fff; }
-
-link:focus,
-.navbar-dark .navbar-nav .nav-link:hover {
- color: #fff; }
-
-.navbar-dark .navbar-nav .active > .nav-link,
-.navbar-dark .navbar-nav .nav-link.active,
-.navbar-dark .navbar-nav .nav-link.show,
-.navbar-dark .navbar-nav .show > .nav-link {
- color: #fff; }
-
-.navbar-expand-lg .navbar-nav .nav-link {
- padding: 40px 0px; }
- @media (max-width: 991px) {
- .navbar-expand-lg .navbar-nav .nav-link {
- padding: 20px; } }
-.sticky {
- position: fixed;
- top: 0;
- width: 100%;
- z-index: 10;
- background: #fff;
- box-shadow: 0 2px 5px #0000000d; }
-
-.navbar .dropdown:hover .dropdown-menu {
- visibility: visible;
- opacity: 1;
- transform: translateY(0); }
-
-.navbar .dropdown-menu {
- box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
- border-bottom: 5px solid #ffbc3b;
- padding: 15px;
- top: 96px;
- border-radius: 0;
- display: block;
- visibility: hidden;
- transition: .3s ease;
- opacity: 0;
- transform: translateY(20px);
- background: #fff; }
- @media (max-width: 991px) {
- .navbar .dropdown-menu {
- display: none;
- opacity: 1;
- visibility: visible;
- transform: translateY(0);
- transform-origin: unset; } }
- .navbar .dropdown-menu.show {
- visibility: hidden; }
- @media (max-width: 991px) {
- .navbar .dropdown-menu.show {
- visibility: visible;
- display: block; } }
-.navbar .dropdown-item {
- position: relative;
- color: #1e1e4b;
- transition: .2s ease;
- text-transform: capitalize;
- font-family: "Fira Sans", sans-serif; }
- @media (max-width: 991px) {
- .navbar .dropdown-item {
- text-align: center; } }
- .navbar .dropdown-item:not(:last-child) {
- margin-bottom: 10px; }
- .navbar .dropdown-item:hover {
- color: #ffbc3b;
- background: transparent; }
-
-.hero-section {
- padding: 250px 0 290px; }
-
-.hero-slider .prevArrow,
-.hero-slider .nextArrow {
- position: absolute;
- bottom: -123px;
- z-index: 9;
- padding: 15px;
- color: rgba(255, 255, 255, 0.5);
- border: 0;
- font-size: 30px;
- transition: all linear .2s;
- background: transparent; }
- .hero-slider .prevArrow:focus,
- .hero-slider .nextArrow:focus {
- outline: 0; }
- .hero-slider .prevArrow:hover,
- .hero-slider .nextArrow:hover {
- color: #ffbc3b; }
-
-.hero-slider .prevArrow {
- right: 60px; }
-
-.hero-slider .nextArrow {
- right: 0; }
-
-.hero-slider .slick-dots {
- position: absolute;
- left: 0;
- bottom: -100px;
- padding-left: 0; }
- .hero-slider .slick-dots li {
- display: inline-block;
- margin: 0 6px; }
- .hero-slider .slick-dots li.slick-active button {
- background: #ffbc3b; }
- .hero-slider .slick-dots li button {
- color: transparent;
- padding: 0;
- overflow: hidden;
- height: 10px;
- width: 10px;
- background: rgba(255, 255, 255, 0.5);
- border: 0;
- outline: 0; }
-
-/* banner feature */
-.feature-icon {
- font-size: 60px;
- color: #1a1a37;
- display: inline-block; }
-
-.feature-blocks {
- margin-left: 40px;
- margin-right: 40px;
- padding-left: 70px;
- padding-top: 80px;
- padding-right: 30%; }
- @media (max-width: 1400px) {
- .feature-blocks {
- padding-right: 10%; } }
- @media (max-width: 1200px) {
- .feature-blocks {
- padding-right: 50px;
- padding-left: 50px;
- padding-top: 30px; }
- .feature-blocks h3 {
- font-size: 20px; } }
- @media (max-width: 991px) {
- .feature-blocks {
- margin-top: 0;
- padding: 50px; }
- .feature-blocks h3 {
- font-size: 25px; } }
- @media (max-width: 575px) {
- .feature-blocks {
- margin-left: 0px;
- margin-right: 0px; } }
-/* /banner feature */
-/* course */
-.card-btn {
- font-size: 12px;
- padding: 5px 10px; }
-
-.flex-basis-33 {
- flex-basis: 33.3333%; }
-
-.hover-shadow {
- transition: .3s ease; }
- .hover-shadow:hover {
- box-shadow: 0px 4px 25px 0px rgba(27, 39, 71, 0.15); }
-
-/* /course */
-/* success story */
-.success-video {
- min-height: 300px; }
- .success-video .play-btn {
- position: absolute;
- top: 50%;
- left: 0;
- transform: translateY(-50%); }
- @media (max-width: 767px) {
- .success-video .play-btn {
- left: 50%;
- transform: translate(-50%, -50%); } }
-.play-btn {
- display: inline-block;
- height: 80px;
- width: 80px;
- border-radius: 50%;
- background: #ffbc3b;
- color: #fff;
- font-size: 25px;
- text-align: center; }
- .play-btn i {
- line-height: 80px; }
- .play-btn::before {
- position: absolute;
- content: "";
- height: 0;
- width: 0;
- transform: translate(-50%, -50%);
- background: #fff;
- border-radius: 50%;
- top: 50%;
- left: 50%;
- z-index: -2;
- transition: .3s ease;
- transition-delay: .2s; }
- .play-btn::after {
- position: absolute;
- content: "";
- height: 80%;
- width: 80%;
- transform: translate(-50%, -50%);
- background: #ffbc3b;
- border-radius: 50%;
- top: 50%;
- left: 50%;
- z-index: -1;
- transition: .3s ease; }
- .play-btn:hover::before {
- height: 80%;
- width: 80%;
- transition-delay: 0s; }
- .play-btn:hover::after {
- height: 0;
- width: 0;
- transition: 0s ease; }
-
-/* /success story */
-/* events */
-.card-date {
- position: absolute;
- background: #ffbc3b;
- font-family: "Fira Sans", sans-serif;
- text-align: center;
- padding: 10px;
- color: #fff;
- top: 0;
- left: 0;
- text-transform: uppercase; }
- .card-date span {
- font-size: 40px; }
-
-/* /events */
-/* footer */
-.input-wrapper {
- position: relative; }
- .input-wrapper button {
- position: absolute;
- right: 25px;
- top: 50%;
- transform: translateY(-50%); }
-
-.form-control {
- height: 60px;
- background: #fff;
- border-radius: 0;
- padding-left: 25px; }
- .form-control:focus {
- border-color: #ffbc3b;
- box-shadow: none; }
-
-.newsletter-block .form-control {
- height: 90px; }
-
-.bg-footer {
- background-color: #182b45; }
-
-.logo-footer {
- margin-top: -20px;
- display: inline-block; }
-
-.footer {
- border-color: #494a43 !important;
- padding-top: 75px; }
-
-/* /footer */
-.filter-controls li {
- cursor: pointer;
- transition: .1s ease; }
- .filter-controls li.active {
- font-weight: 600;
- color: #ffbc3b; }
- .filter-controls li:hover {
- color: #ffbc3b; }
-
-.tag-list a {
- display: block;
- padding: 5px 10px;
- background: #f8f9fe;
- color: #5c5c77; }
- .tag-list a:hover {
- background-color: #ffbc3b;
- color: #fff; }
diff --git a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.json b/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.json
deleted file mode 100644
index 1c0c34e4..00000000
--- a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.json
+++ /dev/null
@@ -1 +0,0 @@
-{"Target":"scss/style.css","MediaType":"text/css","Data":{}}
\ No newline at end of file
diff --git a/static/admin-old/config.yml b/static/admin-old/config.yml
deleted file mode 100644
index 2a10c34c..00000000
--- a/static/admin-old/config.yml
+++ /dev/null
@@ -1,690 +0,0 @@
-backend:
- name: gitlab
- repo: gcg/gcg.pages.cantorgymnasium.de
- branch: master
- auth_type: pkce
- app_id: f9d3e269912cc9560d183167726afc7ccb517862904d0a6c0b10105719964bab
- api_root: https://gitlab.cantorgymnasium.de/api/v4
- base_url: https://gitlab.cantorgymnasium.de
- auth_endpoint: oauth/authorize
- use_graphql: true
- graphql_api_root: https://gitlab.cantorgymnasium.de/api/graphql
-
-media_folder: "static/media"
-public_folder: "/media"
-site_url: https://cantorgymnasium.de
-display_url: https://cantorgymnasium.de
-logo_url: /media/logo_y.svg
-locale: "de"
-
-show_preview_links: false
-
-collections:
- - name: "config"
- label: "Konfiguration"
- description: "Hier können die Basiseinstellungen der Website geändert werden."
- editor:
- preview: false
- media_folder: "static/media"
- public_folder: "media"
- files:
- - name: "homepage-config"
- label: "Startseitenkonfiguration"
- file: "data/de/homepage.yml"
- media_folder: "/static/media/home"
- public_folder: "media/home"
- format: yml
- fields:
- - label: "Slider"
- name: "slider"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "image"}
- - {label: "Titel", name: "title", widget: "string"}
- - label: "Elemente"
- name: "slider_item"
- widget: "list"
- fields:
- - {label: "Inhalt", name: "content", widget: "string", required: false}
- - label: "Einblendeanimation"
- name: "animation_in"
- widget: "select"
- options: ["left", "right", "up", "down"]
- required: false
- - label: "Ausblendeanimation"
- name: "animation_out"
- widget: "select"
- options: ["left", "right", "up", "down"]
- required: false
- - label: "Button"
- name: "button"
- widget: "object"
- required: false
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- - {label: "Bezeichnung", name: "label", widget: "string", required: false}
- - {label: "Link", name: "link", widget: "string", required: false}
- - label: "Erfolge"
- name: "success_banner"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Bild", name: "image", widget: "image"}
- - label: "Elemente"
- name: "feature_item"
- widget: "list"
- fields:
- - {label: "Bezeichnung", name: "name", widget: "string", required: false}
- - {label: "Bild verwenden", name: "img", widget: "boolean", required: false}
- - {label: "Symbol", name: "icon", widget: "string", required: false}
- - {label: "Bild", name: "image", widget: "image", required: false}
- - {label: "Inhalt", name: "content", widget: "markdown", required: false}
- - label: "\"Über\"-Seite"
- name: "about"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Inhalt", name: "content", widget: "markdown"}
- - label: "Button"
- name: "button"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Bezeichnung", name: "label", widget: "string"}
- - {label: "Link", name: "link", widget: "string"}
- - label: "Ganztagsangebote"
- name: "ganztagsangebote"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Titel", name: "title", widget: "string"}
- - label: "Aktionsbutton"
- name: "cta"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Untertitel", name: "subtitle", widget: "string"}
- - label: "Button"
- name: "button"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Bezeichnung", name: "label", widget: "string"}
- - {label: "Link", name: "link", widget: "string"}
- - label: "Informationen"
- name: "info"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "image"}
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Inhalt", name: "content", widget: "text"}
- - {label: "Video-Link", name: "video_link", widget: "string"}
- - label: "Termine"
- name: "termine"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Titel", name: "title", widget: "string"}
- - label: "Zahlen"
- name: "zahlen"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - label: "Elemente"
- name: "zahl_element"
- widget: "list"
- fields:
- - {label: "Bezeichnung", name: "name", widget: "string"}
- - {label: "Zahl", name: "count", widget: "number"}
- - label: "Blog"
- name: "blog"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Titel", name: "title", widget: "string"}
- - name: "hugo-config"
- label: "Website-Konfiguration"
- file: "config.toml"
- fields:
- - {label: "Website-URL", name: "baseURL", widget: "string"}
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Elemente je Seite", name: "paginate", widget: "number", value_type: "int"}
- - {label: "Lände von Zusammenfassungen", name: "summaryLength", widget: "number", value_type: "int"}
- - {label: "Standardsprache in Unterordner", name: "defaultContentLanguageInSubdir", widget: "boolean"}
- - {label: "Standardsprache", name: "defaultContentLanguage", widget: "string"}
- - {label: "Emoji", name: "enableEmoji", widget: "boolean"}
- - {label: "robots.txt", name: "enableRobotsTxt", widget: "boolean"}
- - {label: "Zeitzone", name: "timeZone", widget: "string"}
- - label: "Markdown-Enstellungen"
- name: "markup"
- widget: "object"
- collapsed: true
- summary: '{{fields.defaultMarkdownHandler}}'
- fields:
- - {label: "standardmäßiger Markdown-Handler", name: "defaultMarkdownHandler", widget: "select", options: ["blackfriday", "goldmark"]}
- - label: "Goldmark-Einstellungen"
- name: "goldmark"
- widget: "object"
- fields:
- - label: "Renderer-Einstellungen"
- name: "renderer"
- widget: "object"
- fields: [{label: "Unsicheren Inhalt erlauben", name: "unsafe", widget: "boolean"}]
- - label: "Einstellungen"
- name: "params"
- widget: "object"
- collapsed: true
- fields:
- - label: "Plugins"
- name: "plugins"
- widget: "object"
- fields:
- - label: "CSS"
- name: "css"
- widget: "list"
- fields:
- - {label: "Link", name: "link", widget: "string"}
- - label: "JavaScript"
- name: "js"
- widget: "list"
- fields:
- - {label: "Link", name: "link", widget: "string"}
- - {label: "Logo", name: "logo", widget: "image"}
- - {label: "Autor", name: "author", widget: "string"}
- - {label: "Adresse", name: "address", widget: "string"}
- - {label: "Route (Link)", name: "route_link", widget: "string"}
- - {label: "Telefonnummer", name: "mobile", widget: "string"}
- - {label: "E-Mail-Adresse", name: "email", widget: "string"}
- - {label: "Kontakt-Titelleiste", name: "top_header", widget: "boolean"}
- - label: "Ladeanimation"
- name: "preloader"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean"}
- - {label: "Logo", name: "preloader", widget: "image"}
- - {label: "Ladeanimation", name: "loader", widget: "image"}
- - label: "Soz. Netzwerke"
- name: "social"
- widget: "list"
- fields:
- - {label: "Bezeichnung", name: "title", widget: "string"}
- - {label: "Symbol", name: "icon", widget: "string"}
- - {label: "Link", name: "link", widget: "string", hint: "Liste unter https://fontawesome.com/search"}
- - label: "Menü"
- name: "menu"
- widget: "object"
- collapsed: true
- fields:
- - label: "Hauptmenü"
- name: "main"
- widget: "list"
- fields:
- - {label: "Titel", name: "name", widget: "string"}
- - {label: "Position", name: "weight", widget: "number"}
- - {label: "Untermenüs", name: "hasChildren", widget: "boolean", required: false}
- - {label: "Link", name: "URL", widget: "string", required: false}
- - {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name", required: false}
- - label: "unteres Menü"
- name: "footer"
- widget: "list"
- fields:
- - {label: "Titel", name: "name", widget: "string"}
- - {label: "Link", name: "URL", widget: "string"}
- - label: "Sprachen"
- name: "Languages"
- widget: "object"
- collapsed: true
- fields:
- - label: "Deutsch"
- name: "de"
- widget: "object"
- fields:
- - {label: "Abkürzung", name: "languageName", widget: "string"}
- - {label: "Sprachcode", name: "languageCode", widget: "string"}
- - {label: "Inhalt-Ordner", name: "contentDir", widget: "string"}
- - {label: "Position", name: "weight", widget: "number"}
- - {label: "Startseitenbezeichnung", name: "home", widget: "string"}
- - {label: "Copyright-Hinweis", name: "copyright", widget: "string"}
- - {label: "Impressum-Link", name: "impressumURL", widget: "string"}
- - {label: "Datenschutz-Link", name: "dseURL", widget: "string"}
-
-
-
-
- - name: "pages-de"
- label: "Statische Seiten"
- editor:
- preview: true
- files:
- - name: "blog-index"
- label: "Blog"
- file: "content/german/blog/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "about-index"
- label: "Über die Schule"
- file: "content/german/about/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "anmeldung-index"
- label: "Anmeldung"
- file: "content/german/anmeldung/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "cantorpreis-index"
- label: "Cantor-Preis"
- file: "content/german/cantorpreis/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "contact-index"
- label: "Kontakt"
- file: "content/german/kontakt/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "event-index"
- label: "Termine"
- file: "content/german/termine/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - label: Termine
- label_singular: " "
- name: "events"
- widget: "list"
- fields:
- - {label: "Titel", name: "title", widget: "string", required: true}
- - {label: "Datum/Startdatum", name: "date", widget: "datetime", required: true, date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- - {label: "Enddatum", name: "enddate", widget: "datetime", required: false, date_format: "DD.MM.YYYY", time_format: "HH:mm", default: ""}
- - {label: "Ort", name: "location", widget: "string", required: true}
- - {label: "Beschreibung", name: "summary", widget: "string", required: false}
- required: false
- - name: "forms-index"
- label: "Formulare und Vorlagen"
- file: "content/german/forms/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "ganztagsangebote-index"
- label: "Ganztagsangebote"
- file: "content/german/ganztagsangebote/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "impressum"
- label: "Impressum"
- file: "content/german/impressum/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "datenschutz"
- label: "Datenschutz"
- file: "content/german/datenschutz/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "wettbewerbe-index"
- label: "Wettbewerbe"
- file: "content/german/wettbewerbe/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "begabtenfoerderung-index"
- label: "Begabtenförderung"
- file: "content/german/begabtenfoerderung/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - name: "schuelervertretung-index"
- label: "Schülervertretung"
- file: "content/german/schuelervertretung/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "schuelerrat-geschaeftsordnung"
- label: "Geschäftsordnung der Schülervertretung"
- file: "content/german/schuelervertretung/geschaeftsordnung.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "bibo"
- label: "Schulbibliothek"
- file: "content/german/bibo/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "abiturienten"
- label: "Abiturienten"
- file: "content/german/abiturienten/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "cantorfora"
- label: "Cantorfora"
- file: "content/german/cantorfora/_index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "elternvertretung-index"
- label: "Elternvertretung"
- file: "content/german/elternvertretung/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "jia-index"
- label: "Junior-Ingenieur-Akademie"
- file: "content/german/schuelervertretung/index.md"
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "pages"}
- - {label: "Type", name: "layout", widget: "hidden", default: "single.html"}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- - name: "author-de" # Used in routes, e.g., /admin/collections/blog
- label: "Autor*innen" # Used in the UI
- label_singular: "Autor*in"
- folder: "content/german/author" # The path to the folder where the documents are stored
- create: true # Allow users to create new documents in this collection
- slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
- editor:
- preview: false
- media_folder: '/static/media/people'
- public_folder: '/media/people'
- fields: # The fields for each document, usually in front matter
- - {label: "Name", name: "title", widget: "string"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- - {label: "Gravatar-E-Mail", name: "email", widget: "string", required: false}
- - {label: "Foto", name: "image", widget: "image"}
- - label: "Kontaktdaten"
- label_singular: " "
- name: "social"
- widget: "list"
- fields:
- - {label: "Titel", name: "title", widget: "string", required: false}
- - label: "Symbol"
- name: "icon"
- widget: "select"
- options:
- - { label: "YouTube", value: "fa-brands fa-youtube" }
- - { label: "Twitter", value: "fa-brands fs-twitter" }
- - { label: "Pinterest", value: "fa-brands fa-pinterest" }
- - { label: "GitHub", value: "fa-brands fa-github" }
- - { label: "GitLab", value: "fa-brands fa-gitlab" }
- - { label: "Vimeo", value: "fa-brands fa-vimeo" }
- - { label: "Instagram", value: "fa-brands fa-instagram" }
- - { label: "Facebook", value: "fa-brands fa-facebook" }
- - { label: "E-Mail", value: "fa-solid fa-at" }
- - { label: "Sonstige", value: "fa-solid fa-share-nodes" }
- - {label: "Link", name: "link", widget: "string"}
- required: false
- - {label: "Beschreibung", name: "body", widget: "markdown"}
- - name: "blog-de"
- label: "Blogbeiträge"
- label_singular: "Blogbeitrag"
- folder: "content/german/blog"
- filter: {field: "type", value: "post"}
- create: true
- slug: "{{slug}}"
- editor:
- preview: false
- media_folder: '/static/media/blog'
- public_folder: '/media/blog'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Datum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- - {label: "Beitragsbild", name: "image", widget: "image", default: "/media/image.png"}
- - label: "Beitragsautor"
- name: "author"
- widget: "relation"
- collection: "author-de"
- search_fields: ["title"]
- value_field: "title"
- display_fields: ["title"]
- - label: "Kategorien"
- name: "categories"
- widget: "list"
- required: false
- field: {label: "Kategorie", name: "category", widget: "string"}
- - label: "Tags"
- name: "tags"
- widget: "list"
- required: false
- field: {label: "Tag", name: "tag", widget: "string"}
- - {label: "Type", name: "type", widget: "hidden", default: "post"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "forms-de"
- label: "Formulare und Vorlagen"
- label_singular: "Formular"
- description: "Hier sind Formulare, Vorlagen und andere Dokumente zu hinterlegen."
- folder: "content/german/forms"
- filter: {field: "type", value: "forms"}
- create: true
- slug: "{{slug}}"
- editor:
- preview: false
- media_folder: '/static/media/forms'
- public_folder: '/media/forms'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Veröffentlichungsdatum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "forms"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "anmeldung-de"
- label: "Anmeldung"
- label_singular: "Anmeldeinformation"
- folder: "content/german/anmeldung"
- filter: {field: "type", value: "anmeldung"}
- create: true
- editor:
- preview: false
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "anmeldung"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "cantorpreis-de"
- label: "Cantor-Preisträger*innen"
- label_singular: "Cantor-Preisträger*in"
- folder: "content/german/cantorpreis"
- filter: {field: "type", value: "cantorpreis"}
- create: true
- editor:
- preview: false
- media_folder: '/static/media/cantorpreis'
- public_folder: '/media/cantorpreis'
- fields:
- - {label: "Jahr", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Beschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Name", name: "name", widget: "string"}
- - label: "Kontaktdaten/Soz. Netzwerke"
- name: "contact"
- widget: "list"
- fields:
- - {label: "Name/Adresse/Telefonnummer", name: "name", widget: "string"}
- - {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://fontawesome.com/search"}
- - {label: "Link", name: "link", widget: "string"}
- - {label: "Type", name: "type", widget: "hidden", default: "cantorpreis"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "ganztagsangebote-de"
- label: "Ganztagsangebote"
- label_singular: "Ganztagsangebot"
- folder: "content/german/ganztagsangebote"
- filter: {field: "type", value: "ganztagsangebote"}
- create: true
- editor:
- preview: false
- media_folder: '/static/media/ganztagsangebote'
- public_folder: '/media/ganztagsangebote'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Veröffentlichungsdatum", name: "date", widget: "datetime", date_format: "DD.MM.YYYY", time_format: "HH:mm"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/ganztagsangebote/image.png", required: false}
- - label: "Themenbereiche"
- name: "categories_ag"
- widget: "list"
- - {label: "Dauer", name: "duration", widget: "string"}
- - {label: "Tag/Stunden", name: "weekly", widget: "string"}
- - {label: "Klassenstufen", name: "class", widget: "string"}
- - {label: "Raum", name: "room", widget: "string"}
- - {label: "Anmeldelink", name: "apply_url", widget: "hidden", default: "https://moodle.bildung-lsa.de/gcg/mod/choice/view.php?id=828"}
- - {label: "Type", name: "type", widget: "hidden", default: "ganztagsangebote"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "wettbewerbe-de"
- label: "Wettbewerbe"
- label_singular: "Wettbewerb"
- folder: "content/german/wettbewerbe"
- filter: {field: "type", value: "wettbewerbe"}
- create: true
- editor:
- preview: false
- media_folder: '/static/media/contests'
- public_folder: '/media/contests'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Fach", name: "category", widget: "string"}
- - {label: "Klassenstufen", name: "class", widget: "string"}
- - {label: "Website", name: "web_url", widget: "string", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "wettbewerbe"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "begabtenfoerderung-de"
- label: "Begabtenförderung"
- label_singular: "Begabtenförderung"
- folder: "content/german/begabtenfoerderung"
- filter: {field: "type", value: "begabtenfoerderung"}
- create: true
- editor:
- preview: false
- media_folder: '/static/media/begabtenfoerderung'
- public_folder: '/media/begabtenfoerderung'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Fach", name: "category", widget: "string"}
- - {label: "Klassenstufen", name: "class", widget: "string"}
- - {label: "Website", name: "web_url", widget: "string", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "begabtenfoerderung"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "schulchronik"
- label: "Schulchronik"
- label_singular: "Chronikjahr"
- folder: "content/german/schulchronik"
- filter: {field: "type", value: "schulchronik"}
- create: true
- #editor:
- #preview: false
- media_folder: '/static/media/schulchronik'
- public_folder: '/media/schulchronik'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "schulchronik"}
- - {label: "Text", name: "body", widget: "markdown"}
- - name: "abiturienten"
- label: "Abiturienten"
- label_singular: "Abiturjahrgang"
- folder: "content/german/abiturienten"
- filter: {field: "type", value: "abiturienten"}
- create: true
- editor:
- preview: false
- media_folder: '/static/media/abiturienten'
- public_folder: '/media/abiturienten'
- fields:
- - {label: "Titel", name: "title", widget: "string"}
- - {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
- - {label: "Mehrere Bilder", name: "multiple", widget: "boolean", default: "false", required: false}
- - {label: "Type", name: "type", widget: "hidden", default: "abiturienten"}
- - {label: "Text", name: "body", widget: "markdown"}
diff --git a/static/admin-old/index.html b/static/admin-old/index.html
deleted file mode 100644
index 6ce0c626..00000000
--- a/static/admin-old/index.html
+++ /dev/null
@@ -1,440 +0,0 @@
-
-
-
-
-
- GCG Website: Netlify CMS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/static/admin/config.yml b/static/admin/config.yml
index dd7917fa..46290586 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -44,12 +44,13 @@ collections:
- label: "Banner"
name: "top_banner"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Text", name: "text", widget: "string", required: false}
- {label: "Farbe", name: "color", widget: "color", required: false}
- {label: "Schriftfarbe", name: "font_color", widget: "color", required: false}
- - {label: "Symbol", name: "icon", widget: "string", required: false}
+ - {label: "Symbol", name: "icon", widget: "string", required: false, hint: "Liste unter https://fontawesome.com/search"}
- label: "Zeitschaltung"
name: temporarily
widget: "object"
@@ -60,6 +61,7 @@ collections:
- label: "Karusell"
name: "slider"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", required: false}
@@ -88,24 +90,16 @@ collections:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Bezeichnung", name: "label", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
- - label: "Erfolge"
- name: "success_banner"
+ - label: "Logo-Banner (oben)"
+ name: "header_logos"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- - {label: "Bild", name: "image", widget: "image", required: false}
- - label: "Elemente"
- name: "feature_item"
- widget: "list"
- fields:
- - {label: "Bezeichnung", name: "name", widget: "string", required: false}
- - {label: "Bild verwenden", name: "img", widget: "boolean", required: false}
- - {label: "Symbol", name: "icon", widget: "string", required: false}
- - {label: "Bild", name: "image", widget: "image", required: false}
- - {label: "Inhalt", name: "content", widget: "markdown", required: false}
- label: "\"Über\"-Seite"
name: "about"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
@@ -117,15 +111,39 @@ collections:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Bezeichnung", name: "label", widget: "string", required: false}
- {label: "Link", name: "link", widget: "string", required: false}
+ - label: "Blog"
+ name: "blog"
+ widget: "object"
+ collapsed: true
+ fields:
+ - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
+ - {label: "Titel", name: "title", widget: "string"}
+ - label: "Erfolge"
+ name: "success_banner"
+ widget: "object"
+ collapsed: true
+ fields:
+ - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
+ - {label: "Bild", name: "image", widget: "image", required: false}
+ - label: "Elemente"
+ name: "feature_item"
+ widget: "list"
+ fields:
+ - {label: "Bezeichnung", name: "name", widget: "string", required: false}
+ - {label: "Symbol", name: "icon", widget: "string", required: false, hint: "Liste unter https://fontawesome.com/search"}
+ - {label: "Bild", name: "image", widget: "image", required: false}
+ - {label: "Inhalt", name: "content", widget: "markdown", required: false}
- label: "Ganztagsangebote"
name: "ganztagsangebote"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
- label: "Aktionsbutton"
name: "cta"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
@@ -140,6 +158,7 @@ collections:
- label: "Informationen"
name: "info"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", required: false}
@@ -149,32 +168,25 @@ collections:
- label: "Termine"
name: "termine"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
- - label: "Zahlen"
- name: "zahlen"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- - label: "Elemente"
- name: "zahl_element"
- widget: "list"
- fields:
- - {label: "Bezeichnung", name: "name", widget: "string", required: false}
- - {label: "Zahl", name: "count", widget: "number", required: false}
- - label: "Blog"
- name: "blog"
- widget: "object"
- fields:
- - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- - {label: "Titel", name: "title", widget: "string"}
- - label: "Digitalpakt-Banner"
+ - label: "DigitalPakt-Banner"
name: "digitalpakt"
widget: "object"
+ collapsed: true
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- {label: "Titel", name: "title", widget: "string", required: false}
+ - {label: "Bild", name: "image", widget: "image", required: false}
+ - {label: "Inhalt", name: "content", widget: "markdown", required: false}
+ - label: "Logo-Banner (unten)"
+ name: "footer_logos"
+ widget: "object"
+ collapsed: true
+ fields:
+ - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
- name: "hugo-config"
label: "Website-Konfiguration"
file: "config.yml"
@@ -231,7 +243,14 @@ collections:
- {label: "E-Mail-Adresse (UI-Ansicht)", name: "email_pretty", widget: "string"}
- {label: "Beschreibung", name: "description", widget: "string"}
- {label: "Kontakt-Titelleiste", name: "top_header", widget: "boolean"}
- - {label: "Vorschaubilder", name: "images", widget: "stringlist", required: false}
+ - label: "Vorschaubilder"
+ name: "images"
+ widget: "list"
+ required: false
+ fields:
+ - label: "Bild-Pfad"
+ name: "path"
+ widget: "string"
- {label: "Twitter-Konto", name: "twitter", widget: "string", required: false}
- label: "Ladeanimation"
name: "preloader"
@@ -245,8 +264,8 @@ collections:
widget: "list"
fields:
- {label: "Bezeichnung", name: "title", widget: "string"}
- - {label: "Symbol", name: "icon", widget: "string"}
- - {label: "Link", name: "link", widget: "string", hint: "Liste unter https://fontawesome.com/search"}
+ - {label: "Symbol", name: "icon", widget: "string", hint: "Liste unter https://fontawesome.com/search"}
+ - {label: "Link", name: "link", widget: "string"}
- label: "Menü"
name: "menu"
widget: "object"
@@ -317,14 +336,14 @@ collections:
label: "Hauptseiten"
editor:
preview: true
- frame: false
+ frame: true
files:
- name: "blog-index"
label: "Aktuelles"
file: "content/german/blog/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "about-index"
label: "Über die Schule"
@@ -332,9 +351,21 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/image.webp", required: false}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
+ - label: "Statistik"
+ name: "stats"
+ widget: "object"
+ collapsed: true
+ fields:
+ - {label: "Aktivieren", name: "enable", widget: "boolean", required: false}
+ - label: "Elemente"
+ name: "zahlen"
+ widget: "list"
+ fields:
+ - {label: "Bezeichnung", name: "name", widget: "string", required: false}
+ - {label: "Zahl", name: "count", widget: "number", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "anmeldung-index"
label: "Anmeldung"
@@ -342,7 +373,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- label: "Elemente"
label_singular: "Element"
@@ -359,7 +390,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "contact-index"
label: "Kontakt"
@@ -367,7 +398,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown"}
- name: "event-index"
@@ -376,7 +407,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- label: Termine
label_singular: "Termin"
@@ -385,7 +416,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string", required: true}
- {label: "Datum/Startdatum", name: "date", widget: "datetime", required: true, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"}
- - {label: "Enddatum", name: "enddate", widget: "datetime", required: false, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", default: ""}
+ - {label: "Enddatum", name: "enddate", widget: "datetime", required: false, date_format: "dd.MM.yyyy", time_format: false, format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"}
- {label: "Ort", name: "location", widget: "string", required: true}
- {label: "Beschreibung", name: "summary", widget: "string", required: false}
required: false
@@ -395,7 +426,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "ganztagsangebote-index"
label: "Ganztagsangebote"
@@ -403,7 +434,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "wettbewerbe-index"
label: "Wettbewerbe"
@@ -411,7 +442,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "begabtenfoerderung-index"
label: "Begabtenförderung"
@@ -419,7 +450,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- name: "abiturienten"
label: "Abiturienten"
@@ -427,16 +458,15 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Text", name: "body", widget: "markdown", required: false}
- name: "cantorfora"
label: "Cantorfora"
file: "content/german/cantorfora/_index.md"
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Text", name: "body", widget: "markdown", required: false}
- name: "pages"
@@ -447,19 +477,22 @@ collections:
create: true
editor:
preview: true
- frame: false
+ frame: true
slug: "{{slug}}"
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- {label: "Type", name: "type", widget: "hidden", default: "pages"}
- {label: "Layout", name: "layout", widget: "hidden", default: "single.html"}
- label: "Aliase"
name: "aliases"
- widget: "categories"
- required: false
+ widget: "list"
+ fields:
+ - label: "Alias"
+ name: "alias"
+ widget: "string"
- {label: "Text", name: "body", widget: "markdown", required: false}
- name: "author"
icon: "user"
@@ -474,7 +507,7 @@ collections:
public_folder: '/media/people'
fields:
- {label: "Name", name: "title", widget: "string"}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Gravatar-E-Mail", name: "email", widget: "string", required: false}
- {label: "Foto", name: "image", widget: "image"}
@@ -496,7 +529,9 @@ collections:
- { label: "Vimeo", value: "fa-brands fa-vimeo" }
- { label: "Instagram", value: "fa-brands fa-instagram" }
- { label: "Facebook", value: "fa-brands fa-facebook" }
+ - { label: "Linkedin", value: "fa-brands fa-linkedin" }
- { label: "E-Mail", value: "fa-solid fa-at" }
+ - { label: "TikTok", value: "fa-brands fa-tiktok" }
- { label: "Sonstige", value: "fa-solid fa-share-nodes" }
- {label: "Link", name: "link", widget: "string"}
required: false
@@ -511,6 +546,7 @@ collections:
slug: "{{slug}}"
editor:
preview: true
+ frame: true
media_folder: '/static/media/blog'
public_folder: '/media/blog'
view_groups:
@@ -525,9 +561,9 @@ collections:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime", date_format: "dd/MM/yyyy", time_format: false}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- - {label: "Beitragsbild", name: "image", widget: "image", default: "/media/image.png"}
+ - {label: "Beitragsbild", name: "image", widget: "image", default: "/media/image.webp"}
- label: "Beitragsautor"
name: "author"
widget: "relation"
@@ -538,12 +574,18 @@ collections:
name: "categories"
widget: "list"
required: false
- field: {label: "Kategorie", name: "category", widget: "array"}
+ fields:
+ - label: "Kategorie"
+ name: "category"
+ widget: "string"
- label: "Tags"
name: "tags"
widget: "list"
required: false
- field: {label: "Tag", name: "tag", widget: "array"}
+ fields:
+ - label: "Tag"
+ name: "tag"
+ widget: "string"
- {label: "Type", name: "type", widget: "hidden", default: "post"}
- {label: "Text", name: "body", widget: "markdown"}
- name: "forms"
@@ -562,7 +604,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- label: "Dateien"
name: "files"
@@ -587,16 +629,16 @@ collections:
fields:
- {label: "Jahr", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Beschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/cantorpreis/image.webp", required: false}
- {label: "Name", name: "name", widget: "string"}
- label: "Kontaktdaten/Soz. Netzwerke"
name: "contact"
widget: "list"
fields:
- - {label: "Name/Adresse/Telefonnummer", name: "name", widget: "string"}
- - {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://fontawesome.com/search"}
+ - {label: "Bezeichnung", name: "name", widget: "string"}
+ - {label: "Symbol", name: "icon", widget: "string", hint: "Liste unter https://fontawesome.com/search"}
- {label: "Link", name: "link", widget: "string"}
- {label: "Type", name: "type", widget: "hidden", default: "cantorpreis"}
- {label: "Text", name: "body", widget: "markdown"}
@@ -614,9 +656,9 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/ganztagsangebote/image.png", required: false}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/ganztagsangebote/image.webp", required: false}
- {label: "Themenbereich", name: "category", widget: "string", required: true}
- {label: "Dauer", name: "duration", widget: "string"}
- {label: "Tag/Stunden", name: "weekly", widget: "string"}
@@ -639,9 +681,9 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/contests/image.webp", required: false}
- {label: "Fach", name: "category", widget: "string"}
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Website", name: "web_url", widget: "string", required: false}
@@ -661,9 +703,9 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Metabeschreibung", name: "description", widget: "text", required: false}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/begabtenfoerderung/image.webp", required: false}
- {label: "Fach", name: "category", widget: "string"}
- {label: "Klassenstufen", name: "class", widget: "string"}
- {label: "Website", name: "web_url", widget: "string", required: false}
@@ -681,7 +723,7 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
- {label: "Type", name: "type", widget: "hidden", default: "schulchronik"}
- {label: "Einleitung", name: "pretext", hint: "Jahreszahltext", widget: "markdown", required: false}
- label: "Kreative Haufen"
@@ -707,8 +749,8 @@ collections:
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
- - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- - {label: "Bild", name: "image", widget: "image", default: "/media/image.png", required: false}
+ - {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.webp"}
+ - {label: "Bild", name: "image", widget: "image", default: "/media/abiturienten/image.webp", required: false}
- {label: "Mehrere Bilder", name: "multiple", widget: "boolean", default: false, required: false}
- {label: "Type", name: "type", widget: "hidden", default: "abiturienten"}
- {label: "Text", name: "body", widget: "markdown"}
diff --git a/static/admin/index.html b/static/admin/index.html
index 45644e03..881c2ed7 100644
--- a/static/admin/index.html
+++ b/static/admin/index.html
@@ -40,7 +40,6 @@
toProps: args => {
if (args.length > 0) {
var dir = args.find(arg => arg.startsWith('dir='))?.split('=')[1].replaceAll("\"","") ?? '';
- console.log(dir);
return { dir: dir };
}
@@ -64,7 +63,7 @@
}));
},
preview: ({ dir }) => {
- return h('div', {"className": "row", "style": { border: "1px solid #868686", borderRadius: "8px", padding: "10px" }},
+ return h('div', {"className": "row", "style": { border: "1px solid #868686", borderRadius: "8px", padding: "10px", marginBottom: "5px" }},
h('b', {"style": { marginRight: "5px" }}, "Gallerie-Ordner:"),
h('code', {}, dir));
},
@@ -77,7 +76,6 @@
toProps: args => {
if (args.length > 0) {
var src = args.find(arg => arg.startsWith('src='))?.split('=')[1].replaceAll("\"","") ?? '';
- console.log(src);
return { src };
}
@@ -86,7 +84,7 @@
toArgs: ({ src }) => {
return [`src=\"${src}\"`];
},
- /* control: ({ src, onChange, controlProps: { field, collection, entry } }) => {
+ /*control: ({ src, onChange, controlProps: { field, collection, entry } }) => {
const controlID = useUUID();
const handleOnChange = (newSrc) => {
onChange(newSrc);
@@ -133,6 +131,78 @@
h('code', {}, src));
},
});
+ CMS.registerShortcode('download', {
+ label: 'Download-Karte',
+ openTag: '{{< ',
+ closeTag: ' >}}',
+ separator: ' ',
+ toProps: args => {
+ if (args.length > 0) {
+ var title = "";
+ var link = "";
+ var linkIndex = args.findIndex(arg => arg.startsWith('link="'));
+ var titleIndex = args.findIndex(arg => arg.startsWith('title="'));
+ if (titleIndex + 1 < linkIndex) {
+ title += args.find(arg => arg.startsWith('title='))?.split('=')[1].replaceAll("\"","") ?? '';
+ for (let i = titleIndex + 1; i < linkIndex; i++) {
+ title += " " + args[i].replaceAll("\"","") ;
+ }
+ } else {
+ title = args.find(arg => arg.startsWith('title='))?.split('=')[1].replaceAll("\"","") ?? ''
+ }
+ if (linkIndex + 1 < args.length) {
+ link += args.find(arg => arg.startsWith('link='))?.split('=')[1].replaceAll("\"","") ?? '';
+ for (let i = linkIndex + 1; i < args.length; i++) {
+ link += " " + args[i].replaceAll("\"","");
+ }
+ } else {
+ link = args.find(arg => arg.startsWith('link='))?.split('=')[1].replaceAll("\"","") ?? ''
+ }
+ title.trim();
+ link.trim();
+ return { title: title, link: link };
+ }
+
+ return { title: '', link: '' };
+ },
+ toArgs: ({ title, link }) => {
+ return [`title=\"${title}\"`, `link=\"${link}\"`];
+ },
+ control: ({ title, link, onChange }) => {
+ return h('div', {"className": "row", "style": { border: "1px solid #868686", borderRadius: "8px", padding: "10px" }},
+ h('b', {"style": {width: "30%", fontFamily: "sans-serif", margin: "10px"}}, "Download-Karte:"),
+ h('input', {
+ key: 'control-input',
+ value: title,
+ "style": {
+ border: "1px solid #ced4da", borderRadius: "8px", padding: "10px", width: "35%", marginLeft: "5px", marginRight: "5px"
+ },
+ onChange: event => {
+ onChange({ title: event.target.value, link: link });
+ },
+ }),
+ h('input', {
+ key: 'control-input',
+ value: link,
+ "style": {
+ border: "1px solid #ced4da", borderRadius: "8px", padding: "10px", width: "35%", marginLeft: "5px", marginRight: "5px"
+ },
+ onChange: event => {
+ onChange({ title: title, link: event.target.value });
+ },
+ })
+ );
+ },
+ preview: ({ title, link }) => {
+ return h('div', {"className": "container mb-0"},
+ h('div', {"className": "card border-primary rounded-0 hover-shadow mb-5"},
+ h('div', {"className": "card-body mb-0"},
+ h('h4', {"className": "card-title"},
+ h('a', {"className": "text-decoration-none", "href": link}, title),
+ ),
+ h('a', {"className": "mb-0 btn btn-primary btn-sm text-decoration-none", "href": link}, "Download")
+ )))},
+ });
CMS.registerShortcode('card', {
label: 'Link-Karte',
openTag: '{{< ',
@@ -142,7 +212,6 @@
if (args.length > 0) {
var title = "";
var link = "";
- console.log(args);
var linkIndex = args.findIndex(arg => arg.startsWith('link="'));
var titleIndex = args.findIndex(arg => arg.startsWith('title="'));
if (titleIndex + 1 < linkIndex) {
@@ -322,7 +391,7 @@
+