v1.5.22
The footer call-out can now be left empty and simply disappear, the newsletter field keeps a consistent width whatever else is in the footer, and the custom homepage is found reliably on large sites.
Bug fixes
- An empty footer call-out now disappears completely. Clearing the footer headline, description and button used to leave a stray dividing line and a band of empty space above the rest of the footer. Leave all four fields blank and the whole band is gone, with the footer closing up as though it were never there. See Header and footer.
- The footer button needs both its label and its link. Clearing just the label used to leave an empty button behind. Either field being blank now removes the button.
- The newsletter field keeps the same width whatever else is in the footer. Its width used to depend on how many social links you had added, and on whether you had filled in the subscribe headline — so a site with two social icons got an email field stretched across almost the whole page. It is now the same width in every case.
- Clearing the subscribe headline no longer changes anything but the headline. The form below it stays exactly as it was. To remove the form itself, turn Members off in Ghost's own settings.
- If two pages are tagged
#home, the most recently created one is used. Previously both were rendered, one after the other, as a single very long homepage. See A CMS-editable homepage.
Under-the-hood improvements
- The custom homepage is found reliably on sites with many pages. The theme used to fetch every page on the site and look through them for the one tagged
#home. On a large site that search could quietly come up empty and fall back to the default homepage, with nothing to indicate why. It now asks for that page directly, so the result no longer depends on how many pages you have.
Nothing about how you write or configure a site changes in this release, and no setting has moved.