Skip to content

Support for Selemer builtin tags #49

@jmitchell-au

Description

@jmitchell-au

When trying to parse a template using Selmer builtin tags such as include and extends a Bootleg error is returned:

bootleg -e '(selmer "page.html”)’
bootleg: script error at line 1, column 1: : “unrecognized tag: :extends - did you forget to close a tag?”

Set-up:

Selemer tags used in page.html:

{% extends “base.html" %}
{% include “partial.html” %}

yogthos : You can't use include in conjunction with render because render expects a string containing the complete template. You should use render-file instead and put both templates in separate files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions