0
votes

any ideas why my configuration is exporting njk code instead of content?

<body class="font-sans" id="top" itemscope itemtype="http://schema.org/WebPage">

  {{ content | safe }}

  <script src="scripts/index.js"></script>

  { % include 'footer.njk' % }

</body>

image

1
{ % => {%: {% include 'footer.njk' %}Aikon Mogwai

1 Answers

0
votes

You've got too many spaces in there.

Change

{ % include 'footer.njk' % }

to

{% include 'footer.njk' %}