Edit about/biography page title, slug and template

This commit is contained in:
Paul Nicoué 2022-05-31 16:01:28 +02:00
parent 63e3b2dbf7
commit 8912f8ea29
12 changed files with 51 additions and 43 deletions

View file

@ -1,17 +0,0 @@
title:
en: About
fr: À propos
icon: text
status:
draft: true
unlisted: true
options:
changeSlug: false
changeStatus: false
changeTemplate: false
changeTitle: false
delete: false
duplicate: false
tabs:
content: tabs/about_content
seo: tabs/about_seo

View file

@ -0,0 +1,21 @@
title:
en: Biography
fr: Biographie
icon: text
status:
draft: true
unlisted: true
options:
changeSlug:
admin: true
editor: false
changeStatus: false
changeTemplate: false
changeTitle:
admin: true
editor: false
delete: false
duplicate: false
tabs:
content: tabs/biography_content
seo: tabs/biography_seo

View file

@ -6,10 +6,14 @@ status:
draft: true
unlisted: true
options:
changeSlug: false
changeSlug:
admin: true
editor: false
changeStatus: false
changeTemplate: false
changeTitle: false
changeTitle:
admin: true
editor: false
delete: false
duplicate: false
tabs:

View file

@ -4,7 +4,7 @@ headline:
type: pages
templates:
- home
- about
- biography
sortBy: title asc
create: false
layout: cardlets

View file

@ -3,4 +3,4 @@ label:
fr: Contenu
icon: text
sections:
presentation: sections/about_content_presentation
presentation: sections/biography_content_presentation

View file

@ -1,16 +0,0 @@
{% extends "base.twig" %}
{% block main %}
<main>
<section class="about-section">
<article class="about">
<h2 class="about__title">{{ page.title }}</h2>
<div class="about__presentation">{{ page.text.kirbytext|raw }}</div>
</article>
</section>
</main>
{% endblock %}

View file

@ -0,0 +1,16 @@
{% extends "base.twig" %}
{% block main %}
<main>
<section class="biography-section">
<article class="biography">
<h2 class="biography__title">{{ page.title }}</h2>
<div class="biography__presentation">{{ page.text.kirbytext|raw }}</div>
</article>
</section>
</main>
{% endblock %}