Skip to content

Commit

Permalink
try base plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Aug 14, 2024
1 parent 8866c41 commit 21c4dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions documentation/.eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ const embedEverything = require("eleventy-plugin-embed-everything");
const pluginTOC = require('eleventy-plugin-nesting-toc');
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
const Image = require("@11ty/eleventy-img");
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");

module.exports = function(eleventyConfig) {
// eleventyConfig.addPlugin(pluginTOC);
eleventyConfig.addPlugin(svgContents);
eleventyConfig.addPlugin(embedEverything);
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
eleventyConfig.addShortcode("version", function () {
return String(Date.now());
});
Expand Down
2 changes: 1 addition & 1 deletion documentation/_includes/components/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ renderData.title or title or site.name }}</title>
<meta name="description" content="{{ metaDescription or renderData.metaDescription or site.description }}">
<link rel="stylesheet" href="./style.css?v={% version %}"/>
<link rel="stylesheet" href="style.css?v={% version %}"/>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.emoji }}</text></svg>">

{% set js %}
Expand Down

0 comments on commit 21c4dd6

Please sign in to comment.