Avoid weird Liquid syntax error by dropping parentheses from expression?

This commit is contained in:
Danielle McLean 2020-06-18 12:15:12 +10:00
parent 79eab2e764
commit f4e57b09f9
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -3,5 +3,5 @@ layout: page
permalink: /README permalink: /README
--- ---
{% capture readme_text %}{% include_relative .dots/README.md %}{% endcapture %} {% capture readme_text %}{% include_relative .dots/README.md %}{% endcapture %}
{% assign readme_text = (readme_text | newline_to_br | split: "<br />" | shift | shift | join: '' ) %} {% assign readme_text = readme_text | newline_to_br | split: '<br />' | shift | shift | join %}
{{ readme_text | markdownify }} {{ readme_text | markdownify }}