Skip to content

Commit

Permalink
Add a more info link into the feel for truncated content
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbernard authored and Naros committed Oct 10, 2023
1 parent 76e5301 commit b600ebe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blog.atom
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ layout: none
<dc:creator>{{ post.author.name | xml_escape }}</dc:creator>
{% endif %}
{% if post.excerpt %}
<description>{{ post.excerpt | xml_escape }}</description>
{% assign moreHtml = "<br/><a href='" + site.url + "/" + {{ page.path }} + "'>Read more...</a>" %}
<description>{{ post.excerpt | xml_escape }} {{ moreHtml | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}
Expand Down

0 comments on commit b600ebe

Please sign in to comment.