mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix missing SITEURL and base home link
1. Following up on bbinet's changes in f12a297, ensure that the notmyidea
theme's article.html template includes the SITEURL variable when
constructing URL links.
2. Add missing slash to the base.html template so that clicking on the
site header at top left refers to "/" instead of "" when SITEURL is not
defined. Otherwise, the "" target will cause the browser to load the
current page and not the site's root (as one would expect).
This commit is contained in:
parent
447e627286
commit
7056622322
56 changed files with 76 additions and 76 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
<body id="index" class="home">
|
||||
<header id="banner" class="body">
|
||||
<h1><a href=".">A Pelican Blog </a></h1>
|
||||
<h1><a href="./">A Pelican Blog </a></h1>
|
||||
<nav><ul>
|
||||
<li><a href="./pages/this-is-a-test-page.html">This is a test page</a></li>
|
||||
<li ><a href="./category/bar.html">bar</a></li>
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
<article>
|
||||
<header>
|
||||
<h1 class="entry-title">
|
||||
<a href="second-article.html" rel="bookmark"
|
||||
<a href="./second-article.html" rel="bookmark"
|
||||
title="Permalink to Second article">Second article</a></h1>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue