Skip to content

Commit

Permalink
switching to include relative subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
datapolitical committed Apr 6, 2021
1 parent 99963b0 commit 567c97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/recipe.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</div>
{% for category in page.categories %}
{% if category == "Writeup" %}
{% capture my_include %}{% include_relative {{ page.name | downcase | replace: " ", "-" | replace: "á", "a" | remove: "(" | remove: ")" | remove: "[" | remove: "]" | remove: "'" | remove: "&" | remove: "!" | remove: "’" | remove: "," | replace: ".html", ".md"}} %}{% endcapture %}
{% capture my_include %}{% include_relative writeups/{{ page.name | downcase | replace: " ", "-" | replace: "á", "a" | remove: "(" | remove: ")" | remove: "[" | remove: "]" | remove: "'" | remove: "&" | remove: "!" | remove: "’" | remove: "," | replace: ".html", ".md"}} %}{% endcapture %}
{{ my_include | replace: '"<img', '<img' | replace: '""', '"' | replace: 'img>"', 'img>' | markdownify }}
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 567c97b

Please sign in to comment.