Add non-obtrusive debug info for page root

pull/19318/merge
Adam Schmideg 6 years ago
parent e4490becd2
commit 3b921e8901
  1. 1
      _includes/head.html
  2. 2
      _includes/link.html

@ -4,6 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} | {% endif %}Go Ethereum</title>
<!-- debug root:{% include link.html url="/debug-path" %} -->
<link rel="icon" type="image/png" href="{% include link.html url=site.favicon %}" />
{% if layout.common-css %}

@ -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: '//', '/' }}
Loading…
Cancel
Save