Skip to content

automagically added templateType #863

Open
@stereonom

Description

@stereonom

In my theme, I have html files which only have a macro inside.

Example for debugger.html:

{##############################
	Test
###############################}
{%- macro helpers_debugger(data) %}
<pre>{{data|tojson}}</pre>
{%- endmacro %}

When I upload my theme using hs upload these files the files are changed somehow and in the Design Manger the file looks like this:

<!--
  templateType: "none"
  isAvailableForNewContent: false
-->
{##############################
	Test
###############################}
{%- macro helpers_debugger(data) %}
<pre>{{data|tojson}}</pre>
{%- endmacro %}

This seems fine, but sometimes, and I can't figure out when, the templateType is set to page which really is bad.
Is this a known bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions