From b3f62ee51f1bd3f5b3bd318b763f0b1d187ac6d6 Mon Sep 17 00:00:00 2001 From: Spencer Bliven Date: Wed, 17 Jul 2019 12:01:18 +0200 Subject: [PATCH] Add Baseurl column to siteinfo.md table --- siteinfo.md | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/siteinfo.md b/siteinfo.md index ad38517..3c2039a 100644 --- a/siteinfo.md +++ b/siteinfo.md @@ -22,25 +22,31 @@ permalink: siteinfo.html Link processing in Jekyll -Code | Result | ----- | ------ | -`{%raw%}[Normal link to source]{%endraw%}{%raw%}(/pages/merlin6/introduction.md){%endraw%}` | [Normal link to source](/pages/merlin6/introduction.md) -`{%raw%}[Normal link to result](/merlin6/introduction.html){%endraw%}` | [Normal link to result](/merlin6/introduction.html) -`{%raw%}[Invalid Escaped link to source]({{"/pages/merlin6/introduction.md"}}){%endraw%}` | [Invalid Escaped link to source]({{"/pages/merlin6/troduction.md"}}) -`{%raw%}[Escaped link to result]({{"/merlin6/introduction.html"}}){%endraw%}` | [Escaped link to result]({{"/merlin6/introduction.html"}}) -`{%raw%}[Reference link to source](srcRef){%endraw%}` | [Reference link to source][srcRef] -`{%raw%}[Reference link to result](dstRef){%endraw%}` | [Reference link to result][dstRef] -`{%raw%}[Liquid Link]({% link pages/merlin6/introduction.md %}){%endraw%}` | [Liquid Link]({% link pages/merlin6/introduction.md %}) -`{%raw%}![PSI Logo](/images/psi-logo.png){%endraw%}` | ![PSI Logo](/images/psi-logo.png) -`{%raw%}![Escaped PSI Logo]({{ "/images/psi-logo.png" }}){%endraw%}` | ![PSI Logo from liquid]({{ "/images/psi-logo.png" }}) -`{%raw%}Reference to source: (/pages/merlin6/introduction.md){%endraw%}` | Reference to source: (/pages/merlin6/introduction.md) -`{%raw%}{{ "/pages/merlin6/introduction.md" | relative_url }}{%endraw%}` | {{ "/pages/merlin6/introduction.md" | relative_url }} -`{%raw%}{{ "/merlin6/introduction.html" | relative_url }}{%endraw%}` | {{ "/merlin6/introduction.html" | relative_url }} +Code | Result | Baseurl +---- | ------ | ------- +`{%raw%}[Normal link to source]{%endraw%}{%raw%}(/pages/merlin6/introduction.md){%endraw%}` | [Normal link to source](/pages/merlin6/introduction.md) | ✅ +`{%raw%}[Normal link to result](/merlin6/introduction.html){%endraw%}` | [Normal link to result](/merlin6/introduction.html) | ❌ +`{%raw%}[Invalid Escaped link to source]({{"/pages/merlin6/introduction.md"}}){%endraw%}` | [Invalid Escaped link to source]({{"/pages/merlin6/introduction.md"}}) | ❌❗ +`{%raw%}[Escaped link to result]({{"/merlin6/introduction.html"}}){%endraw%}` | [Escaped link to result]({{"/merlin6/introduction.html"}}) | ❌ +`{%raw%}[Reference link to source](srcRef){%endraw%}` | [Reference link to source][srcRef] | ✅ +`{%raw%}[Reference link to result](dstRef){%endraw%}` | [Reference link to result][dstRef] | ❌ +`{%raw%}[Liquid Link]({% link pages/merlin6/introduction.md %}){%endraw%}` | [Liquid Link]({% link pages/merlin6/introduction.md %}) | ❌ +`{%raw%}![PSI Logo](/images/psi-logo.png){%endraw%}` | ![PSI Logo](/images/psi-logo.png) | ✅ +`{%raw%}![Escaped PSI Logo]({{ "/images/psi-logo.png" }}){%endraw%}` | ![PSI Logo from liquid]({{ "/images/psi-logo.png" }}) | ❌ +`{%raw%}{% include inline_image.html file="psi-logo.png" alt="Included PSI Logo" %}{%endraw%}` | {% include inline_image.html file="psi-logo.png" alt="Included PSI Logo" -%} | | ❌ +`{%raw%}{{ "/pages/merlin6/introduction.md" | relative_url }}{%endraw%}` | {{ "/pages/merlin6/introduction.md" | relative_url }} | ✅❗ +`{%raw%}{{ "/merlin6/introduction.html" | relative_url }}{%endraw%}` | {{ "/merlin6/introduction.html" | relative_url }} | ✅ +`{%raw%}{% link pages/merlin6/introduction.md %}{%endraw%}` | {% link pages/merlin6/introduction.md %} | ✅ [srcRef]: /pages/merlin6/introduction.md [dstRef]: /merlin6/introduction.html -Conclusions: +Key: +- ✅ Baseurl prepended +- ❌ No baseurl +- ❗ Source not converted to result + +### Conclusions: - Markdown links that refer to source files are replaced by the baseurl + permalink