Open stereonom opened 1 year ago
I found an example where it becomes a page
: (all-atoms.html
)
<!--
templateType: "page"
isAvailableForNewContent: false
-->
{%- import './atoms/atoms-copy-text/atoms-copy-text.html' %}
{%- import './atoms/atoms-image/atoms-image.html' %}
{%- import './atoms/atoms-headline/atoms-headline.html' %}
{%- import './atoms/atoms-link/atoms-link.html' %}
{%- import './atoms/atoms-text/atoms-text.html' %}
{%- import './atoms/atoms-video/atoms-video.html' %}
But this file is type none
: (all-molecules.html
)
<!--
templateType: "none"
isAvailableForNewContent: false
-->
{%- import './molecules/molecules-headline-text/molecules-headline-text.html' %}
{%- import './molecules/molecules-buttons/molecules-buttons.html' %}
🤷
In my theme, I have html files which only have a macro inside.
Example for
debugger.html
:When I upload my theme using
hs upload
these files the files are changed somehow and in theDesign Manger
the file looks like this:This seems fine, but sometimes, and I can't figure out when, the
templateType
is set topage
which really is bad. Is this a known bug?