From 4b2cd13bf43fac161a2b60668dbda8d35f3b503f Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Mon, 12 Apr 2021 08:49:55 +0100 Subject: [PATCH] Issue #44 - Update single and singular. Add single-full custom template, defined in experimental-theme.json --- block-templates/single-full.html | 22 ++++++++++++++++++++++ block-templates/single.html | 2 +- block-templates/singular.html | 14 ++++++++------ experimental-theme.json | 15 ++++++++++++++- 4 files changed, 45 insertions(+), 8 deletions(-) create mode 100644 block-templates/single-full.html diff --git a/block-templates/single-full.html b/block-templates/single-full.html new file mode 100644 index 0000000..550edbc --- /dev/null +++ b/block-templates/single-full.html @@ -0,0 +1,22 @@ + +
single-full.html custom template
+ + + + + + + + + + + + + + + + + + + + diff --git a/block-templates/single.html b/block-templates/single.html index 307d4a7..a0aa4ff 100644 --- a/block-templates/single.html +++ b/block-templates/single.html @@ -6,7 +6,7 @@ - + diff --git a/block-templates/singular.html b/block-templates/singular.html index b600fb0..459d038 100644 --- a/block-templates/singular.html +++ b/block-templates/singular.html @@ -1,16 +1,18 @@ +
singular.html
+ - + - + - + - + - + - + diff --git a/experimental-theme.json b/experimental-theme.json index dd00537..652017d 100644 --- a/experimental-theme.json +++ b/experimental-theme.json @@ -184,5 +184,18 @@ "typography": {} } } - } + }, + "customTemplates": [ + { + "name": "single-full", + "title": "Full width stuff", + "postTypes": [ + "page", + "post", + "block", + "block_example" + ] + } + ] + } \ No newline at end of file