ssg
ssg copied to clipboard
The official Statamic Static Site Generator
I encounter an error with SSG when generating custom pages defined in the routes files, the issue is caused by TrustedProxies middleware in Laravel. On my site I have a...
Hello guys ! In an attempt to polish my Statamic stack with better performances, I enabled redis for storing the stache and added the Spatie/fork package and start testing the...
On my Statamic site I have error pages that are localised automatically depending on the language: ``` /404.html (English) /fr/404.html (French) ``` When SSG runs it generates the 404.html pages...
My home page template has the following snippet (which I think I took from the v3 docs): ``` {{ paginate }} ⬅ Previous {{ current_page }} of {{ total_pages }}...
Reproducible repository (branch: `ssg-glide-cache-bug`): https://github.com/ncla/statamic-bugs/tree/ssg-glide-cache-bug To reproduce, simply have an asset field, and have such templating: ```antlers {{ glide:assets_field }} {{ height }} {{ width }} {{ /glide:assets_field }} ```...
This PR prevents exception messages from being swallowed by build tasks. My SSG config is set to fail on errors: ```php // config/statamic/ssg.php 'failures' => 'errors', ```` I ran into...
Updated Node & PHP versions, cleaned up code and remove legacy packages, added updated instructions to take advantage of Vercel's updated UI.
APP_ENV is set to production, however after running `php please ssg:generate` the generated index.html has links such as: http://[::1]:5173/resources/css/site.css http://[::1]:5173/resources/js/site.js This obviously breaks the website as no CSS or JS...
Is this really guaranteed to wait for all closures to finish? ``` $results = $this->tasks->run(...$closures); ``` [EDIT] Please see: https://github.com/statamic/ssg/issues/155#issuecomment-1835763494 I am in the process of upgrading Statamic v3 to...
An issue was brought to my attention when using `statamic/ssg` and `aerni/advanced-seo`. It might be related to https://github.com/statamic/ssg/issues/99 as it's the same exception. The following exception happens whenever you run...