twostraws / Ignite

A static site generator for Swift developers.
MIT License
986 stars 34 forks source link

Move the trailing <script> chunks to the end of <body> from <html> #26

Closed steve-h closed 4 weeks ago

steve-h commented 4 weeks ago

I moved the code and tested in my own copy of samples repo. Things seem to work. The testability is not obvious to me in the Ignite repo, but the existing tests pass.

I considered loading the pure scripts in the head section with a defer parameter but the tool tip script snippet looked like it needed to run last so I did not try that.

twostraws commented 4 weeks ago

Perfect – thank you!