mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-04 12:00:02 +00:00
Merge branch 'anantshri-favicon_fix'
This commit is contained in:
commit
ca1d520b8f
@ -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");
|
||||
@ -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"],
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,4 +9,5 @@ src/site/styles/_theme.*.css
|
||||
.idea/
|
||||
.vercel
|
||||
.cache
|
||||
_site/
|
||||
**/.DS_Store
|
||||
|
1901
package-lock.json
generated
1901
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -27,12 +27,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy-img": "^3.0.0",
|
||||
"@azure/storage-blob": "^12.8.0",
|
||||
"@octokit/core": "^4.1.0",
|
||||
"@sindresorhus/slugify": "^1.1.0",
|
||||
"axios": "^1.2.2",
|
||||
"dotenv": "^16.0.3",
|
||||
"eleventy-favicon": "^1.1.2",
|
||||
"eleventy-plugin-gen-favicons": "^1.1.2",
|
||||
"eleventy-plugin-nesting-toc": "^1.3.0",
|
||||
"fs-file-tree": "^1.1.1",
|
||||
"glob": "^10.2.1",
|
||||
|
@ -32,7 +32,7 @@
|
||||
<link href="{{style}}" rel="stylesheet">
|
||||
{%- endfor -%}
|
||||
|
||||
{% favicon './src/site/favicon.svg' %}
|
||||
{% favicons './src/site/favicon.svg', appleIconBgColor='#123' %}
|
||||
|
||||
{% if metatags %}
|
||||
{% for name, content in metatags %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user