Skip to content

Commit cc3794f

Browse files
maxkingsqla-tester
authored andcommitted
Add closing tag in include.
Fixes #260 Closes: #359 Pull-request: #359 Pull-request-sha: 541f219 Change-Id: Icdaa09284cb9921b5753985ae600978763e0223f
1 parent 86025c0 commit cc3794f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/build/inheritance.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,10 @@ A common mistake is along these lines:
525525
</%block>
526526

527527
## parent.mako
528-
<%include file="partials.mako">
528+
<%include file="partials.mako" />
529529

530530
## child.mako
531-
<%inherit file="parent.mako">
531+
<%inherit file="parent.mako" />
532532
<%block name="header">
533533
Custom Header
534534
</%block>
@@ -559,7 +559,7 @@ it as a namespace:
559559
</%block>
560560

561561
## child.mako
562-
<%inherit file="parent.mako">
562+
<%inherit file="parent.mako" />
563563
<%block name="header">
564564
Custom Header
565565
</%block>
@@ -579,8 +579,8 @@ Another scenario is below, which results in both ``"SectionA"`` blocks being ren
579579
</%block>
580580

581581
## parent.mako
582-
<%inherit file="base.mako">
583-
<%include file="child.mako">
582+
<%inherit file="base.mako" />
583+
<%include file="child.mako" />
584584

585585
## child.mako
586586
<%block name="SectionA">
@@ -593,8 +593,8 @@ of ``child.mako`` using a namespace:
593593
.. sourcecode:: mako
594594

595595
## parent.mako
596-
<%inherit file="base.mako">
597-
<%namespace name="child" file="child.mako">
596+
<%inherit file="base.mako" />
597+
<%namespace name="child" file="child.mako" />
598598

599599
<%block name="SectionA">
600600
${child.SectionA()}

0 commit comments

Comments
 (0)