KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using the YAML heading of a markdown file to add an excerpt variable to blog posts that I can use elsewhere. In one of these excerpts I refer to an earlier blog post via markdown link markup, and I use the liquid template data variable {{ site.url }} in place of the base URL of the site. So I have something like (trimmed it somewhat) --- title: "Decluttering ordination plots in vegan part 2: orditorp()" status: publish layout: post published: true tags: - tag1 - tag2 excerpt: In the [earlier post in this series]({{ site.url }}/2013/01/12/ decluttering-ordination-plots-in-vegan-part-1-ordilabel/ "Decluttering ordination plots in vegan part 1: ordilabel()") I looked at the `ordilabel()` function ---- However, jekyll and the Maruku md parser don't like this, which makes me suspect that you can't use liquid markup in the YAML header. Is it possible to use liquid markup in the YAML header of pages handled by jekyll? If it is, what I am I doing wrong in the example shown? If it is not allowed, who else can I achieve what I intended? I am currently developing my site on my laptop and don't want to hard code the base URL as it'll have to change when I am ready to deploy. The errors I am getting from Maruku are: | Maruku tells you: +--------------------------------------------------------------------------- | Must quote title | --------------------------------------------------------------------------- | the [earlier post in this series]({{ site.url }}/2013/01/12/decluttering-o | --------------------------------------|------------------------------------- | +--- Byte 40 and | Maruku tells you: +--------------------------------------------------------------------------- | Unclosed link | -----------------------------------------------------------------------
Tags (comma-separated)
Save Edits
Cancel