Skip to content

Is it possible to use cyrilic filenames with spaces for filesystem data collections? #877

Answered by johanjanssens
HiRolla asked this question in Q&A
Discussion options

You must be logged in to vote

Glad to hear you are finding your way. and congrats on those first 27 lines of php code. This is how it all starts, one line of code at a time. Here is some feedback for you:

1. Loading external md files

The best approach to load the .mdfiles would indeed be to use the Data API. I have replied to your earlier question in detail here: #873 Also added some other options how this could work.

2. Handling slugs

Two possible approaches here, you can get the name of the file (see below) or you could add the slug to the frontmatter of your markdown file, then just grab it from there using the Data API.

3. Cyrilic filenames with spaces

I haven't tested that but in theory this should just work. Pag…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by johanjanssens
Comment options

You must be logged in to vote
1 reply
@johanjanssens
Comment options

Comment options

You must be logged in to vote
1 reply
@johanjanssens
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants