Closed ttunguz closed 11 years ago
Could be a formatting issue? is your config file valid yaml?
Yes, thanks. I linted it and it's valid.
On Mon, Nov 18, 2013 at 8:17 AM, tristen notifications@github.com wrote:
Could be a formatting issue? is your config file valid yaml?
— Reply to this email directly or view it on GitHubhttps://github.com/prose/starter/issues/12#issuecomment-28711828 .
Can you post your config file formatted correctly to this issue then? On first glance the order reads correct.
thanks for the help!
name: "title"
description: ""
url: "url"
paginate: 10
markdown: rdiscount
permalink: :title
prose:
media: 'images'
metadata:
_posts:
- name: "title"
field:
element: "text"
label: "Title"
value: ""
type: "text"
I believe the yaml config entries should be indented 2 spaces and not four. The space between your metadata
-> _posts
entry is 4 followed by 2. This should be consistent.
Also, is there any relevant error in the browsers console?
Thanks. I fixed this and the excerpt tag now works but title still fails. No errors in the console
prose:
media: 'images'
metadata:
_posts:
- name: "title"
field:
element: "text"
label: "Title"
- name: "excerpt"
field:
element: "text"
label: "Excerpt"
- name: "layout"
field:
element: "hidden"
value: "post"
Is the title field showing as an editable field in the header?
Yes, oh! That's where it shows up! Ok, great. Thanks! Perfect. It works.
On Mon, Nov 18, 2013 at 9:25 AM, tristen notifications@github.com wrote:
I believe the yaml config entries should be indented 2 spaces and not four. The space between metadata -> _posts is 4 followed by 2. This should be consistent.
Also, is there any relevant error in the browsers console?
— Reply to this email directly or view it on GitHubhttps://github.com/prose/starter/issues/12#issuecomment-28718524 .
I can't seem to get metadata to work. I configured the metadata to show a title field but nothing seems to make it show in a new post, when I click the metadata button. I've copied and pasted this from the starter repo but still no cigar.
I'd appreciate any help. Thanks!
My config.yml is this:
name: "title" description: "" url: "url" paginate: 10 markdown: rdiscount permalink: :title
prose: media: 'images' metadata: _posts: