question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't configure file path/name when having title in metadata

See original GitHub issue

I have the following Prose configuration in my _config.yml:

prose:
  ignore:
    - /\..*
    - /_config.yml
    - /atom.xml
    - /LICENSE.md
    - /_layouts
    - /_includes
    - /public
  metadata:
    "":
      - name: "layout"
        field:
          element: "hidden"
          value: "page"
      - name: "title"
        field:
          element: "text"
          label: "Title"
    _posts:
      - name: "layout"
        field:
          element: "hidden"
          value: "post"
      - name: "title"
        field:
          element: "text"
          label: "Title"

Before adding the title front matter field, I could set file name (and path including folders) of a new file. The file was being created without title, so I added the metadata title, which I need in front matter. Now when creating a new file in Prose, when previously I was setting the file name, now there’s the place to fill the title, but I’m unable to properly set a file name/path anymore it seems?

Any help?

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
budparrcommented, Oct 19, 2014

I love the “slug style” idea because the date/slug thing is specific to Jekyll posts and not necessarily collections, pages or other software.

1reaction
tonyarnoldcommented, Mar 27, 2014

I’d love to see this as a separately configurable field/option as well. The unnecessary commits are a bit nasty.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add the file name, date, author or other document properties ...
For common information, such as Author name, File name, date, or file path, follow these steps: Double-click the header or footer . Select...
Read more >
Why doesn't changing the name of a pdf file on File Explorer ...
When I open the properties pop-up for the file on File Explorer, I see that the 'name' of the file is Y. However...
Read more >
When I want publish Project : "the specified path, file name, or ...
Your question and its title already contains an answer: "The specified path, file name, or both are too long". Why nobody reads error...
Read more >
There is no config option for listing Videos using their filename ...
I had tried disabling extract-metadata and virtual-folders in MediaExport section and cleaning cache db. Doesn't help. It's seems like GNOME ...
Read more >
Set Filename to Metadata Bridge script John Beards...
I have previously used John Beardsworth's script Set Filename to Metadata which put the file name in the Document Title in File Information....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found