aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl')
-rw-r--r--nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl b/nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl
index f0d1986..c041e50 100644
--- a/nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl
+++ b/nikola/data/themes/bootstrap/templates/bootstrap_helper.tmpl
@@ -29,7 +29,9 @@
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
%endif
%endif
- <link rel="canonical" href="${abs_link(permalink)}">
+ %if permalink:
+ <link rel="canonical" href="${abs_link(permalink)}">
+ %endif
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->