Skip to content

Commit

Permalink
Fix blog feed - Fix liquid string concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbernard authored and Naros committed Oct 11, 2023
1 parent b600ebe commit 83e0021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.atom
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ layout: none
<dc:creator>{{ post.author.name | xml_escape }}</dc:creator>
{% endif %}
{% if post.excerpt %}
{% assign moreHtml = "<br/><a href='" + site.url + "/" + {{ page.path }} + "'>Read more...</a>" %}
{% capture moreHtml %}<br/><a href="{{ site.url }}/{{ page.path }}">Read more...</a>{% endcapture %}
<description>{{ post.excerpt | xml_escape }} {{ moreHtml | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
Expand Down

0 comments on commit 83e0021

Please sign in to comment.