Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a subscribe page and/or a subscription form #94

Open
gllmhyt opened this issue Jul 28, 2016 · 0 comments
Open

Add a subscribe page and/or a subscription form #94

gllmhyt opened this issue Jul 28, 2016 · 0 comments

Comments

@gllmhyt
Copy link
Contributor

gllmhyt commented Jul 28, 2016

Since a few versions, Ghost introduced theme tools for collecting emails from the blog.

When a user enables the "subscribers" feature in labs, several new features are activated:

  • The route /subscribe/ will now render subscribe.hbs (provides there is not already a page at that route)
  • A new {{subscribe_form}} helper is registered for use within the theme
  • The API gets a new /subscribers/ endpoint

It is possible to detect whether or not this feature has been enabled from within a theme, by using the new {{@labs}} helper, please see @labs.

Activated, I can have access to the subscribe page, see: https://postblue.info/subscribe/

But because of the way pages are loaded with Ghostwriter, the page is not loaded when access from the menu bar:

capture du 2016-07-28 11-25-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant