Skip to content

assets_include works intermittently in imported file #177

@rsyring

Description

@rsyring

My template landing.html started like:

{% set title = space.name + ' Collaborative' %}
{% import '_resources.html' as res_macros %}
{% extends "collab-base-sidebar.html" %}
  • _resources.html had some macros that were used and assets_include at the top of it
  • _resources.css had some css that was needed by the macros

I observed that the content from _resources.css only made it into the page immediately after saving landing.html, presumably due to the process/server restart triggered by the file modification. On subsequent browser refreshes, the content was absent.

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