cache busting. portfolio list image click redirects to detail page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
10212022e9
commit
6a0533a690
4 changed files with 28 additions and 7 deletions
|
@ -3,6 +3,7 @@ import Image, { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
|
|||
import { DateTime } from "luxon";
|
||||
import markdownit from "markdown-it";
|
||||
import syntaxHighlight from '@11ty/eleventy-plugin-syntaxhighlight';
|
||||
import cacheBuster from 'eleventy-auto-cache-buster';
|
||||
|
||||
export default async function (eleventyConfig) {
|
||||
// Filters
|
||||
|
@ -61,6 +62,9 @@ export default async function (eleventyConfig) {
|
|||
// Syntax Highlighting
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
|
||||
// Cache busting
|
||||
eleventyConfig.addPlugin(cacheBuster);
|
||||
|
||||
//File passthrough
|
||||
eleventyConfig.addPassthroughCopy("content/robots.txt");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue