Add a static site generator
There is no build for the element or site utilities like PrismJS yet, so this site only works locally at the moment.
This commit is contained in:
committed by
Justin Fagnani
parent
2b3e914666
commit
fc662728eb
9
docs-src/_includes/nav.11ty.cjs
Normal file
9
docs-src/_includes/nav.11ty.cjs
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = function(data) {
|
||||
return `
|
||||
<nav>
|
||||
<a href="/docs/">Home</a>
|
||||
<a href="/docs/examples/">Examples</a>
|
||||
<a href="/docs/api/">API</a>
|
||||
<a href="/docs/install/">Install</a>
|
||||
</nav>`;
|
||||
};
|
||||
Reference in New Issue
Block a user