This commit is contained in:
parent
8cff085e59
commit
443347cad6
|
@ -18,6 +18,9 @@
|
|||
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css", "defer" %}">
|
||||
<script src="{% getBundleFileUrl "js" %}"></script>
|
||||
<script src="{% getBundleFileUrl "js", "module %}"></script>
|
||||
{% getBundle "html", "head" %}
|
||||
</head>
|
||||
<body>
|
||||
<a href="#skip" class="visually-hidden">Skip to main content</a>
|
||||
|
|
|
@ -27,9 +27,6 @@ export default async function (eleventyConfig) {
|
|||
"./node_modules/reveal.js/plugin/": "/revealjs-plugins/",
|
||||
});
|
||||
|
||||
// Run Eleventy when these files change:
|
||||
// https://www.11ty.dev/docs/watch-serve/#add-your-own-watch-targets
|
||||
|
||||
// Watch content images for the image pipeline.
|
||||
eleventyConfig.addWatchTarget("content/**/*.{svg,webp,png,jpeg}");
|
||||
|
||||
|
@ -146,7 +143,6 @@ export default async function (eleventyConfig) {
|
|||
// return `<section data-transition=${transition}> ${mdIt.renderInline(content)} </section>`;
|
||||
//})
|
||||
//
|
||||
// Paired shortcode for callout
|
||||
eleventyConfig.addPairedShortcode("callout", function(content) {
|
||||
// The 'content' variable holds the text/HTML placed between
|
||||
// {% callout %} and {% endcallout %}
|
||||
|
@ -154,6 +150,10 @@ export default async function (eleventyConfig) {
|
|||
return `<div class="callout">${content}</div>`;
|
||||
});
|
||||
|
||||
eleventyConfig.addBundle("css");
|
||||
eleventyConfig.addBundle("js");
|
||||
eleventyConfig.addBundle("html");
|
||||
|
||||
// Features to make your build faster (when you need them)
|
||||
|
||||
// If your passthrough copy gets heavy and cumbersome, add this line
|
||||
|
|
Loading…
Reference in a new issue