mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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 |
||
---|---|---|
.. | ||
test_tpl | ||
asset_spec.js | ||
author_spec.js | ||
authors_spec.js | ||
body_class_spec.js | ||
cancel_link_spec.js | ||
concat_spec.js | ||
content_spec.js | ||
date_spec.js | ||
encode_spec.js | ||
excerpt_spec.js | ||
facebook_url_spec.js | ||
foreach_spec.js | ||
get_spec.js | ||
ghost_foot_spec.js | ||
ghost_head_spec.js | ||
has_spec.js | ||
img_url_spec.js | ||
is_spec.js | ||
lang_spec.js | ||
link_class_spec.js | ||
link_spec.js | ||
meta_description_spec.js | ||
meta_title_spec.js | ||
navigation_spec.js | ||
next_post_spec.js | ||
page_url_spec.js | ||
pagination_spec.js | ||
plural_spec.js | ||
post_class_spec.js | ||
prev_post_spec.js | ||
price_spec.js | ||
raw_spec.js | ||
reading_time_spec.js | ||
t_spec.js | ||
tags_spec.js | ||
title_spec.js | ||
twitter_url_spec.js | ||
url_spec.js |