jekyll-theme-prologue icon indicating copy to clipboard operation
jekyll-theme-prologue copied to clipboard

Absolute link paths

Open ghost opened this issue 4 years ago • 0 comments

The generated HTML contains absolute paths, example:

<a href="http://0.0.0.0:4000/categories/" id="categories-link" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
    <span class="icon fa-link">Categories</span>
 </a>

and of course it doesn't work. How to set it to generate paths relative to the website's root? I.e.

<a href="categories/" id="categories-link" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
    <span class="icon fa-link">Categories</span>
 </a>

ghost avatar Jan 12 '20 11:01 ghost