Skip to content

Configuring navigation without YAML frontmatter in markdown files? #579

Answered by pdmosses
morberg asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that seems to be possible:

  • put your pure Markdown files in the _includes directory
  • create the Jekyll files with the front matter for your navigation in docs
  • use Liquid to include the former in the latter, e.g.:
---
layout: default
title: Test
parent: ...
---
{% include test.md %}

BTW, wouldn't the kramdown LaTeX converter give a closer match between the HTML and the PDFs than pandoc?

Replies: 1 comment 1 reply

Comment options

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

Answer selected by morberg
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