Website: Articles - Fix page script bug (#9288)

Changes:
- Added a `parasails-has-no-page-script` attribute to the parent div of
articles built from Markdown.
This commit is contained in:
Eric 2023-01-11 14:28:46 -06:00 committed by GitHub
parent a5b66b7b07
commit 9c7b9ee1eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
<img style="height: 28px; width: 28px; border-radius: 100%;" alt="The author's GitHub profile picture" :src="'https://github.com/'+thisPage.meta.authorGitHubUsername+'.png?size=200'">
<p class="pl-2 font-weight-bold"><%=thisPage.meta.authorFullName %></p>
</div>
<div purpose="article-content" class="d-flex flex-column">
<div purpose="article-content" class="d-flex flex-column" parasails-has-no-page-script>
<%- partial(path.relative(path.dirname(__filename), path.resolve( sails.config.appPath, path.join(sails.config.builtStaticContent.compiledPagePartialsAppPath, thisPage.htmlId)))) %>
</div>
<hr>