- 6b8630c6: Github pages disclaimer
-
788c769d: # Hoisted scripts
This change adds support for hoisted scripts, allowing you to bundle scripts together for a page and hoist them to the top (in the head):
<script hoist> // Anything goes here! </script>
-
78b5bde1: Adds support for Astro.resolve
Astro.resolve()
helps with creating URLs relative to the current Astro file, allowing you to reference files within yoursrc/
folder.Astro does not resolve relative links within HTML, such as images:
<img src="../images/penguin.png" />
The above will be sent to the browser as-is and the browser will resolve it relative to the current page. If you want it to be resolved relative to the .astro file you are working in, use
Astro.resolve
:<img src={Astro.resolve('../images/penguin.png')} />
- adc767c5: change Spanish translations for Getting Started page
- 70f0a09: Added remark-slug to default plugins