Skip to content

Commit

Permalink
feat(blueprints): Added Home and Error page as singles
Browse files Browse the repository at this point in the history
  • Loading branch information
holmey committed Mar 31, 2023
1 parent 92c0964 commit 77dd808
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ Icon
# Contents
# --------
/content/*
!/content/home
!/content/error
5 changes: 5 additions & 0 deletions content/error/error.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Title: Error

----

Uuid: ATQOJeLJuJaVw1HG
5 changes: 5 additions & 0 deletions content/home/home.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Title: Home

----

Uuid: ZbXWESTRRsl0gQx4
15 changes: 15 additions & 0 deletions site/blueprints/pages/error.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
title: Error
icon: 💥

options:
duplicate: false
changeStatus: false

content:
sections:
fields:
type: fields
fields:
text:
type: textarea
size: huge
28 changes: 28 additions & 0 deletions site/blueprints/pages/home.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
title: Homepage
icon: 🏠

options:
duplicate: false
changeStatus: false

tabs:
content:
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
text:
type: textarea
size: huge
sidebar:
width: 1/3
sections:
pages:
type: pages
template: default
files:
type: files
seotab: seo
15 changes: 12 additions & 3 deletions site/blueprints/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ title: Site

tabs:
content:
sections:
pages:
type: pages
columns:
- width: 1/2
sections:
singles:
type: pages
create: default
templates:
- home
- error
- width: 1/2
sections:

seotab: seo
Binary file modified site/logs/retour/log.sqlite
Binary file not shown.

0 comments on commit 77dd808

Please sign in to comment.