Skip to content

How can I use my-file.md naming instead of my-file.html.md in Pages? #873

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

You must be logged in to vote

Pages uses a file naming convention as follows [filename].[format].[engine]

  • filename: is the actual name of the file, if the Page doesn't contain metadata the page slug and name are using the filename.
  • format: is the actual format of the page, it allows pages to support different output format, html, json, rss, etc.
  • engine: is the rendering engine used, at present we support two engines out of the box php, and md (markdown)

The markdown engine makes use of: https://michelf.ca/projects/php-markdown/ currently Pages ships version 1.9.0.

Pages also support exceptions for static files that don't need a rendering engine. Following file are included as is:

  • html
  • txt
  • svg
  • css
  • js

This means you…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by johanjanssens
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