mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
b7bd6d9968
closes #6534 - new input fields in general settings incl. validation - facebook and twitter as new models in settings.js - adds values for facebook and twitter to default-settings.js - adds blog helpers for facebook and twittter - rather than saving the whole URL, the Twitter username incl. '@' will be extracted from URL and saved in the settings. The User will still input the full URL. After saving the blog setting, the stored Twitter username will be parsed again as the full URL and available in the input field. A custom transform is used for this. - adding meta fields to be rendered in {{ghost_head}}: - '<meta property="article:publisher" content="https://www.facebook.com/page" />' and - '<meta name="twitter:site" content="@user"/>' - adds facebook and twitter to unit test for structured data - adds unit test for general settings - adds acceptance test for new input fields in general settings - adds a custom transform for twitter model to save only the username to the server - adds unit test for transform |
||
---|---|---|
.. | ||
asset_url_spec.js | ||
author_fb_url_spec.js | ||
author_image_spec.js | ||
author_url_spec.js | ||
canonical_url_spec.js | ||
context_object_spec.js | ||
cover_image_spec.js | ||
creator_url_spec.js | ||
description_spec.js | ||
excerpt_spec.js | ||
keywords_spec.js | ||
modified_date_spec.js | ||
og_type_spec.js | ||
paginated_url_spec.js | ||
published_date_spec.js | ||
rss_url_spec.js | ||
schema_spec.js | ||
structured_data_spec.js | ||
title_spec.js | ||
url_spec.js |