File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33
33
< link rel ="alternate " type ="application/rss+xml " title ="OctoPrint Plugin Repository: New Plugins " href ="{{ '/feed.xml' | prepend: site.baseurl }} ">
34
34
35
35
<!-- Le social media meta data -->
36
- {% capture thetitle %}{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}{% endcapture %}
37
- {% capture thedescription %}{% if page.excerpt %}{{ page.excerpt | strip_html }}{% else %}{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}{% endif %}{% endcapture %}
36
+ {% capture thetitle %}{% if page.title %}{{ page.title | xml_escape }}{% else %}{{ site.title }}{% endif %}{% endcapture %}
37
+ {% capture thedescription %}{% if page.excerpt %}{{ page.excerpt | strip_html | xml_escape }}{% else %}{% if page.description %}{{ page.description | xml_escape }}{% else %}{{ site.description }}{% endif %}{% endif %}{% endcapture %}
38
38
{% if page.featuredimage %}
39
39
{% capture theimage %}{{ site.external }}{{ BASE_PATH }}{{ page.featuredimage }}{% endcapture %}
40
40
{% capture thecard %}{{ site.external }}{{ BASE_PATH }}{{ page.card }}{% endcapture %}
You can’t perform that action at this time.
0 commit comments