Skip to content

Commit

Permalink
Merge branch 'anantshri-favicon_fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Eskild Steensen committed May 22, 2023
2 parents 52e0aad + 61cbf6f commit ca1d520
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 1,785 deletions.
4 changes: 2 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const slugify = require("@sindresorhus/slugify");
const markdownIt = require("markdown-it");
const fs = require("fs");
const matter = require("gray-matter");
const faviconPlugin = require("eleventy-favicon");
const faviconsPlugin = require("eleventy-plugin-gen-favicons");
const tocPlugin = require("eleventy-plugin-nesting-toc");
const { parse } = require("node-html-parser");
const htmlMinifier = require("html-minifier");
Expand Down Expand Up @@ -433,7 +433,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("src/site/img");
eleventyConfig.addPassthroughCopy("src/site/scripts");
eleventyConfig.addPassthroughCopy("src/site/styles/_theme.*.css");
eleventyConfig.addPlugin(faviconPlugin, { destination: "dist" });
eleventyConfig.addPlugin(faviconsPlugin, { destination: "dist" });
eleventyConfig.addPlugin(tocPlugin, {
ul: true,
tags: ["h1", "h2", "h3", "h4", "h5", "h6"],
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ src/site/styles/_theme.*.css
.idea/
.vercel
.cache
_site/
**/.DS_Store
Loading

0 comments on commit ca1d520

Please sign in to comment.