Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Custom Post Templates UI #878

Merged
merged 1 commit into from
Oct 10, 2017
Merged

Custom Post Templates UI #878

merged 1 commit into from
Oct 10, 2017

Commits on Oct 10, 2017

  1. Custom Post Templates UI

    refs TryGhost/Ghost#9060, requires TryGhost/Ghost#9073
    - add `{{gh-psm-template-select}}` component
      - allows selection of a custom template for a post if the active theme has custom templates
      - loads themes on render, only hitting the server if not already in the store
      - disables select if post slug matches a `post-*.hbs` or `page-*.hbs` template
    - adds `customTemplate` attr to `Post` model
    - adds `templates` attr to `Theme` model with CPs to pull out custom vs post/page override templates
    - add `.gh-select.disabled` styles to make disabled selects look visually disabled
    kevinansfield committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    5694dc5 View commit details
    Browse the repository at this point in the history