HubPress / hubpress.io

A web application to build your blog on GitHub
MIT License
2.81k stars 2.63k forks source link

Add in commented parameters when starting a new blog post #458

Closed jaredmorgs closed 7 years ago

jaredmorgs commented 7 years ago

I've started writing posts again, and what I've found is this is my workflow:

  1. Click New Post.
  2. Forget the parameters I need to set always
  3. Go back to the post list.
  4. Open a post
  5. Copy the parameters.
  6. Close the post.
  7. Repeat step one.

MVP

What I think we need to do is to add all parameters that HubPress supports into the top of new blog posts, all commented out. That way, a user who is new to the platform will know all the HubPress-specific parameters they can set without having to search the docs.

= Your Blog Title
// See https://hubpress.gitbooks.io/hubpress-knowledgebase/content/ for information about the parameters.
// :hp-image: /covers/cover.png
// :published_at: 2019-01-31
// :hp-tags: HubPress, Blog, Open_Source,
// :hp-alt-title: My English Title

Iteration 1

If it is possible as part of the MVP, we should let bloggers click a button in the interface that lets them add this content, and perhaps basic templated AsciiDoc content.

Otherwise, leave this to the next iteration.

anthonny commented 7 years ago

@jaredmorgs it will be in the next version init-new-post

jaredmorgs commented 7 years ago

Bug is confirmed fixed in 0.7.0. 👍