Code

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#11769 closed (invalid)

Include tag with insert code blocks

Reported by: Stacky Owned by: nobody
Component: Template system Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

What with this usecase? How to implement something like this?

{% template "some/template.htm" %}
   {% content top %}some html{% endcontent %}
   {% content bottom %}some html{% endcontent %}
{% endtemplate %}

>>>>some/template.htm>>>>>>

html

{% content top %}{% endcontent %}

html

{% content bottom %}{% endcontent %}

html

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

This is a bug tracker, not a how-to forum.

comment:2 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.