Skip to content

Commit

Permalink
[TASK] hide nimbly default templates (home,contact,about) in child theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Jan 4, 2023
1 parent e895a71 commit e79180c
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
20 changes: 20 additions & 0 deletions theme/templates/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
templateType: page
isAvailableForNewContent: false
enableDomainStylesheets: false
label: About
screenshotPath: ../images/template-previews/about.png
-->

{% extends "./layouts/base.html" %}

{% block body %}

{% dnd_area 'dnd_area'
label='About template',
class='about-template'
%}

{% end_dnd_area %}

{% endblock body %}
20 changes: 20 additions & 0 deletions theme/templates/contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
templateType: page
isAvailableForNewContent: false
enableDomainStylesheets: false
label: Contact
screenshotPath: ../images/template-previews/contact.png
-->

{% extends "./layouts/base.html" %}

{% block body %}

{% dnd_area 'dnd_area'
label='About template',
class='about-template'
%}

{% end_dnd_area %}

{% endblock body %}
20 changes: 20 additions & 0 deletions theme/templates/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
templateType: page
isAvailableForNewContent: false
enableDomainStylesheets: false
label: Home
screenshotPath: ../images/template-previews/home.png
-->

{% extends "./layouts/base.html" %}

{% block body %}

{% dnd_area 'dnd_area'
label='Home template',
class='home-template'
%}

{% end_dnd_area %}

{% endblock body %}

0 comments on commit e79180c

Please sign in to comment.