Edit about/biography page title, slug and template
This commit is contained in:
parent
63e3b2dbf7
commit
8912f8ea29
12 changed files with 51 additions and 43 deletions
|
@ -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
|
21
site/blueprints/pages/biography.yml
Normal file
21
site/blueprints/pages/biography.yml
Normal 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
|
|
@ -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:
|
||||
|
|
|
@ -4,7 +4,7 @@ headline:
|
|||
type: pages
|
||||
templates:
|
||||
- home
|
||||
- about
|
||||
- biography
|
||||
sortBy: title asc
|
||||
create: false
|
||||
layout: cardlets
|
||||
|
|
|
@ -3,4 +3,4 @@ label:
|
|||
fr: Contenu
|
||||
icon: text
|
||||
sections:
|
||||
presentation: sections/about_content_presentation
|
||||
presentation: sections/biography_content_presentation
|
|
@ -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 %}
|
16
site/templates/biography.twig
Normal file
16
site/templates/biography.twig
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue