Include the p5.js script when is_p5js_sketch is set in the front matter

This commit is contained in:
Eryn Wells 2022-03-24 23:15:24 -07:00
parent f21a558a8d
commit 8e5c9ebb3a
2 changed files with 12 additions and 7 deletions

View file

@ -4,7 +4,9 @@
<h1>{{ .Title }}{{ partial "development/draft_tag.html" . }}</h1>
<span class="post-date"><time>{{ .Date | time.Format "Jan 2, 2006" }}</time></p>
</header>
<section class="post-content">{{ .Content }}</section>
<section class="post-content">
{{ .Content }}
</section>
<!-- Post Tags -->
{{ if .Params.tags }}