mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
7b1aa38841
closes https://github.com/TryGhost/Ghost/issues/12770 AMP pages can't contain bare `<style>` tags, they need to have an attribute like `<style amp-custom>` and there can only be a single `<style amp-custom>` tag in the output. - removed accent color style tag output from `{{ghost_head}}` (aliased as `{{amp_ghost_head}}`) when in an AMP context - added a new `{{amp_style}}` helper that can be used to inject styles into the AMP template - outputs `:root {--ghost-accent-color: #abc123}` style if an accent color is set |
||
---|---|---|
.. | ||
amp_analytics.js | ||
amp_components.js | ||
amp_content.js | ||
amp_style.js | ||
index.js |