Store images outside repository
ExtraStatic repositories are very small. So, please keep your images outside the repository.
Very soon ExtraStatic will offer a way to host your images: files.extrastatic.dev is coming in December 2021
The way this will work, add to your config.yml:
_config.yml
:
images_base_url: https://files.extrastatic.dev
Then, a markdown post with images should look like this:
<script>
import config from '$svekyll/config.js';
</script>
---
title: 'My post with images'
published: true
---
This is more text.
![My image]{config.images_base_url}(/blogpost.png)
This is some text.
This means you can easily update all your images (if you move them from ExtraStatic.io to another host) by just updating your config file.