Skip to content

Commit f5b37d2

Browse files
committed
docs(map): use without context on map.jinja import examples
1 parent 985b2b7 commit f5b37d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/map.jinja.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Here is the best way to use it in an ``sls`` file:
458458
459459
{#- Get the `tplroot` from `tpldir` #}
460460
{%- set tplroot = tpldir.split("/")[0] %}
461-
{%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE with context %}
461+
{%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE without context %}
462462
463463
test-does-nothing-but-display-TEMPLATE-as-json:
464464
test.nop:
@@ -480,7 +480,7 @@ Here is an example based on `template-formula/TEMPLATE/config/file.sls`_:
480480
{#- Get the `tplroot` from `tpldir` #}
481481
{%- set tplroot = tpldir.split('/')[0] %}
482482
{%- set sls_package_install = tplroot ~ '.package.install' %}
483-
{%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE with context %}
483+
{%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE without context %}
484484
{%- from tplroot ~ "/libtofs.jinja" import files_switch with context %}
485485
486486
include:

0 commit comments

Comments
 (0)