Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Oct 27, 2024
1 parent 44331ca commit 2d5455b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 57 deletions.
16 changes: 2 additions & 14 deletions documentation/.eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ export default function (eleventyConfig) {
eleventyConfig.addPlugin(embedEverything);
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addShortcode("version", function () {
return String(Date.now());
});

// Responsive image shortcode
eleventyConfig.addLiquidShortcode("image", async function (src, alt, sizes = "100vw") {
Expand Down Expand Up @@ -73,8 +70,8 @@ export default function (eleventyConfig) {

// tokens pass through
eleventyConfig.addPassthroughCopy({
"./../dist/variables.light.css": "./variables.light.css",
"./../dist/variables.dark.css": "./variables.dark.css",
"../dist/variables.light.css": "./variables.light.css",
"../dist/variables.dark.css": "./variables.dark.css",
});

// Eleventy Navigation https://www.11ty.dev/docs/plugins/navigation/
Expand All @@ -95,15 +92,6 @@ export default function (eleventyConfig) {
return collection.getFilteredByGlob("pages/*.md");
});

// Creates custom collection "menuItems"
eleventyConfig.addCollection("menuItems", collection =>
collection
.getFilteredByTag("pg")
.sort((a, b) => {
return (a.data.pg_order || 0) - (b.data.pg_order || 0);
})
);

function readableDate(dateObj) {
return DateTime.fromJSDate(dateObj).toFormat("LLL dd, yyyy");
}
Expand Down
8 changes: 0 additions & 8 deletions documentation/loader.js

This file was deleted.

34 changes: 0 additions & 34 deletions documentation/netlify.toml

This file was deleted.

2 changes: 1 addition & 1 deletion documentation/styles/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const tailwindConfig = require("../../dist/tailwind.config.cjs");

module.exports = {
content: [
"_site/**/*.html"
"_includes/**/*.njk"
],
darkMode: 'media',
variants: {},
Expand Down
Binary file removed documentation/uploads/uws2.png
Binary file not shown.

0 comments on commit 2d5455b

Please sign in to comment.