cache busting. portfolio list image click redirects to detail page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rik Berkelder 2025-02-24 02:05:46 +01:00
parent 10212022e9
commit 6a0533a690
4 changed files with 28 additions and 7 deletions

View file

@ -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");