mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 15:52:42 +00:00
Compare commits
2 Commits
d6276067a5
...
a05f357e4b
Author | SHA1 | Date | |
---|---|---|---|
|
a05f357e4b | ||
|
7d230eb196 |
@ -8,7 +8,7 @@ import pluginTOC from "@uncenter/eleventy-plugin-toc";
|
|||||||
|
|
||||||
// Custom Configurations
|
// Custom Configurations
|
||||||
import markdownItConfig from "./src/_config/markdown-it.js";
|
import markdownItConfig from "./src/_config/markdown-it.js";
|
||||||
import copyConfig from "./src/_config/copy.js";
|
import filesConfig from "./src/_config/files.js";
|
||||||
import collectionsConfig from "./src/_config/collections.js";
|
import collectionsConfig from "./src/_config/collections.js";
|
||||||
import filterConfig from "./src/_config/filter.js";
|
import filterConfig from "./src/_config/filter.js";
|
||||||
import shortCodesConfig from "./src/_config/shortcodes.js";
|
import shortCodesConfig from "./src/_config/shortcodes.js";
|
||||||
@ -29,7 +29,7 @@ export default function(eleventyConfig) {
|
|||||||
|
|
||||||
// Custom Configurations
|
// Custom Configurations
|
||||||
eleventyConfig.addPlugin(markdownItConfig);
|
eleventyConfig.addPlugin(markdownItConfig);
|
||||||
eleventyConfig.addPlugin(copyConfig);
|
eleventyConfig.addPlugin(filesConfig);
|
||||||
eleventyConfig.addPlugin(collectionsConfig);
|
eleventyConfig.addPlugin(collectionsConfig);
|
||||||
eleventyConfig.addPlugin(filterConfig);
|
eleventyConfig.addPlugin(filterConfig);
|
||||||
eleventyConfig.addPlugin(shortCodesConfig);
|
eleventyConfig.addPlugin(shortCodesConfig);
|
||||||
|
8
src/.htaccess.njk
Normal file
8
src/.htaccess.njk
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
permalink: .htaccess
|
||||||
|
eleventyExcludeFromCollections: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
|
||||||
|
Header set Cache-Control "max-age=31536000, public"
|
||||||
|
</FilesMatch>
|
Loading…
x
Reference in New Issue
Block a user