Skip to content

Commit cfe4f71

Browse files
committed
Enable HTML, add defer to JS
1 parent bb42005 commit cfe4f71

File tree

12 files changed

+113
-2822
lines changed

12 files changed

+113
-2822
lines changed

.eleventy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = config => {
4545
config.addTransform('htmlmin', htmlMinTransform);
4646
}
4747

48-
const markdownLib = markdownIt({ html: false }).use(
48+
const markdownLib = markdownIt({ html: true }).use(
4949
markdownItAnchor,
5050
{
5151
permalink: true,

CHANGELOG.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

package-lock.json

Lines changed: 93 additions & 597 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sprucecss-eleventy-documentation-template",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"author": "Cone (https://conedevelopment.com)",
55
"main": ".eleventy.js",
66
"scripts": {
@@ -34,7 +34,7 @@
3434
"npm-run-all": "^4.1.5",
3535
"pagefind": "^0.12.0",
3636
"sass": "^1.62.1",
37-
"sprucecss": "^2.0.0",
37+
"sprucecss": "^2.1.0",
3838
"stylelint": "^15.6.2",
3939
"stylelint-config-sass-guidelines": "^10.0.0",
4040
"stylelint-order": "^6.0.3"

src/_includes/layouts/base.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
</div>
2929
{% include "partials/search-modal.html" %}
3030

31-
<script src="/js/theme-change-assets.js?{{ assetHash }}"></script>
32-
<script src="/js/navigation.js?{{ assetHash }}"></script>
33-
<script src="/js/theme-switcher.js?{{ assetHash }}"></script>
34-
<script src="/js/modal.js?{{ assetHash }}"></script>
35-
<script src="/js/accordion-card.js?{{ assetHash }}"></script>
31+
<script src="/js/theme-change-assets.js?{{ assetHash }}" defer></script>
32+
<script src="/js/navigation.js?{{ assetHash }}" defer></script>
33+
<script src="/js/theme-switcher.js?{{ assetHash }}" defer></script>
34+
<script src="/js/modal.js?{{ assetHash }}" defer></script>
35+
<script src="/js/accordion-card.js?{{ assetHash }}" defer></script>
3636
</body>
3737
</html>

src/_includes/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header class="header">
22
<div class="header__column">
3-
<a class="header__logo" href="/">
3+
<a class="header__logo" href="/" aria-label="{{ site.name }}">
44
{% svgIcon './src/img/cone-docs-logo.svg' %}
55
</a>
66
{% if navigation.header.length > 0 %}

0 commit comments

Comments
 (0)