Stream: IG creation
Topic: Templates sneaking into temp and making Jekyll angry
Eric Haas (Jan 22 2020 at 00:20):
In our current builds the templates ( sd.html, base.html etc) do not get copied into the temp folder however using templates they are and making Jekyll angry....
these variables
{{[title]}} - a description of the content of the resource (typical use: <h2>{{[title]}}</h2>) {{[name]}} - the path for the source fragment to include (proper use: {% include {{[name]}}.xhtml %}) {{[id]}} - the id of the resource [[[type]}} - the type of the resource [[[uid]}} - type-id (combination)
causing this :
Jekyll: [33m Liquid Warning: Liquid syntax error (line 60): [:open_square, "["] is not a valid expression in "{{[id]}}" in base.html (01:25.0983)
how do I tell the ig-pub not to copy these files into temp?
Grahame Grieve (Jan 22 2020 at 00:21):
in the template, it copies whatever is in \content into the jekyll directory. Jekyll won't see anything else
Last updated: Apr 12 2022 at 19:14 UTC