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

Show page title instead of document path on type document #83

Open
uxder opened this issue Jun 16, 2020 · 2 comments
Open

Show page title instead of document path on type document #83

uxder opened this issue Jun 16, 2020 · 2 comments

Comments

@uxder
Copy link
Member

uxder commented Jun 16, 2020

screenshot 2020-06-16 at 9 29 33

The type:document currently pulls a list of page paths - which can be a bit intimidating for non-technical users.

Is it possible to pull from page.title? I realize not all pages would have titles so I don't know if this is a convention we would want to enforce or if we perhaps add something like:

type: document
display_field: title
@Zoramite
Copy link
Member

I think the hardest part about this would be the responsiveness. Since to get the page title we would need to read in all of the documents and parse the yaml and get the page title. Currently we are also resetting the cache every time we load a page in the live editor so there would be no caching for parsing the docs.

@jeremydw
Copy link
Member

jeremydw commented Nov 25, 2020 via email

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

3 participants