docs: major overhaul (#19395)

This commit is contained in:
Martin Holst Swende
2019-04-05 00:21:15 +02:00
committed by GitHub
parent 6f029479b2
commit 1122480aa3
39 changed files with 103 additions and 218 deletions

View File

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