Start using bunnyCDN for image optimisation

This commit is contained in:
Lewis Dale 2023-05-10 15:25:19 +01:00
parent 632b9f75ef
commit 31385bf024

View File

@ -8,4 +8,4 @@ eleventyComputed:
permalink: "post/{{ post.slug }}/" permalink: "post/{{ post.slug }}/"
--- ---
{{ post.markdown | md | safe }} {{ post.markdown | replace("cms.lewisdale.dev/wp-content/", "lewisdale.b-cdn.net/wp-content/") | replace(".jpg", ".jpg?width=800&quality=80") | replace(".jpeg", ".jpeg?width=800&quality=80") | md | safe }}