0

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

ChatGPT
  • 5,334
  • 12
  • 50
  • 69

1 Answers1

0

You've got too many spaces in there.

Change

{ % include 'footer.njk' % }

to

{% include 'footer.njk' %}
Luke Storry
  • 6,032
  • 1
  • 9
  • 22