Add non-obtrusive debug info for page root

This commit is contained in:
Adam Schmideg
2019-03-22 16:19:33 +01:00
parent e4490becd2
commit 3b921e8901
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
{% capture root %}{{ page.root or site.default_root }}{% endcapture %}
{% capture root %}{% if page.root %}{{ page.root }}{% else %}{{ site.default_root }}{% endif %}{% endcapture %}
{{ include.url | remove: ".html" | prepend: root | replace: '//', '/' }}