Reputation: 428
Is it possible to combine both site.url and page.url in a jeykll template if statement, for example (it doesn't work this way though):
{% if comment.path == {{ site.url }}{{ page.url}} %}
Upvotes: 1
Views: 267
Reputation: 52789
Try this :
{% capture fullpath %}{{ site.url }}{{ page.url}}{% endcapture %}
{% if comment.path == fullpath %}
Upvotes: 1