mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
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 |
||
---|---|---|
.. | ||
tpl | ||
asset.js | ||
author.js | ||
authors.js | ||
body_class.js | ||
cancel_link.js | ||
concat.js | ||
content.js | ||
date.js | ||
encode.js | ||
excerpt.js | ||
facebook_url.js | ||
foreach.js | ||
get.js | ||
ghost_foot.js | ||
ghost_head.js | ||
has.js | ||
img_url.js | ||
index.js | ||
is.js | ||
lang.js | ||
link.js | ||
link_class.js | ||
meta_description.js | ||
meta_title.js | ||
navigation.js | ||
page_url.js | ||
pagination.js | ||
plural.js | ||
post_class.js | ||
prev_post.js | ||
price.js | ||
raw.js | ||
reading_time.js | ||
t.js | ||
tags.js | ||
title.js | ||
twitter_url.js | ||
url.js |