Commit 8a193b1e authored by Richard Perry's avatar Richard Perry
Browse files

Added baseurl to post navigation for GitLab Pages

parent d9664d53
Pipeline #1580822 passed with stage
<nav class='post-nav'>{% if page.next.url %}
<span class='alignleft'><a href='{{page.next.url}}'><i class='fa fa-chevron-left'></i> {{page.next.title}}</a></span>{% endif %}{% if page.previous.url %}
<span class='alignright'><a href='{{page.previous.url}}'>{{page.previous.title}} <i class='fa fa-chevron-right'></i></a></span>{% endif %}
<span class='alignleft'><a href='{{site.baseurl}}{{page.next.url}}'><i class='fa fa-chevron-left'></i> {{page.next.title}}</a></span>{% endif %}{% if page.previous.url %}
<span class='alignright'><a href='{{site.baseurl}}{{page.previous.url}}'>{{page.previous.title}} <i class='fa fa-chevron-right'></i></a></span>{% endif %}
</nav>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment