Means to "fix" the links and scripts in a template.

Description

The Guise Mummy template feature uses the links and scripts referenced in the template <head>, but also brings in any links and scripts referenced in the document <head>. With imported content this could lead to extra links.

Add some sort of flag we can add to a template to "fix" the links/scripts referenced and keep others from being added when the template is applied to content. Possibilities include "linksFixed" and "scriptsFixed".

Environment

None

Activity

Show:
Garret Wilson
June 20, 2020, 2:21 PM

After and GUISE-143, duplicate links should no longer be a problem.

Garret Wilson
December 27, 2019, 2:18 PM

It would also be nice to override this setting for some subtree without creating an entire new template. In some other ticket we'll probably want to add some way to add "properties" to a template by adding a metadata file in a subtree. Maybe this metadata would be applied to the documents, which might mean that we instead use some property that would say "ignore scripts" when applying the template—the same effect, but applied in the reverse direction.

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Components

Affects versions

Priority

Minor