Skip to content
Permalink
Browse files
Include base element in default themes.
Resolves #1922.
  • Loading branch information
da2x committed Aug 6, 2015
1 parent ea8239c commit d329bff2ce88c63a3a7be3edbd6895b12f0acc23
Showing 5 changed files with 10 additions and 12 deletions.
@@ -11,6 +11,8 @@ Features
Bugfixes
--------

* Set a base element to aid relative URL resolution, stripped on-the-fly
when using the auto or serve command to view site locally. (Issue #1922)
* Rebuild archives when post slugs and titles change (Issue #1931)
* Handle special characters in URLs in nikola auto (Issue #1925)
* Avoid Broken Pipe error in nikola auto (Issue #1906)
@@ -21,6 +21,7 @@ dir="rtl"
lang="{{ lang }}">
<head>
<meta charset="utf-8">
<base href="{{ abs_link(permalink) }}">
{% if description %}
<meta name="description" content="{{ description }}">
{% endif %}
@@ -29,9 +30,7 @@ lang="{{ lang }}">

{{ html_stylesheets() }}
{{ html_feedlinks() }}
{% if permalink %}
<link rel="canonical" href="{{ abs_link(permalink) }}">
{% endif %}
<link rel="canonical" href="{{ abs_link(permalink) }}">

{% if favicons %}
{% for name, file, size in favicons %}
@@ -21,6 +21,7 @@ dir="rtl" \
lang="${lang}">
<head>
<meta charset="utf-8">
<base href="${abs_link(permalink)}">
%if description:
<meta name="description" content="${description}">
%endif
@@ -29,9 +30,7 @@ lang="${lang}">

${html_stylesheets()}
${html_feedlinks()}
%if permalink:
<link rel="canonical" href="${abs_link(permalink)}">
%endif
<link rel="canonical" href="${abs_link(permalink)}">

%if favicons:
%for name, file, size in favicons:
@@ -26,6 +26,7 @@ dir="rtl"
lang="{{ lang }}">
<head>
<meta charset="utf-8">
<base href="{{ abs_link(permalink) }}">
{% if description %}
<meta name="description" content="{{ description }}">
{% endif %}
@@ -34,9 +35,7 @@ lang="{{ lang }}">

{{ html_stylesheets() }}
{{ html_feedlinks() }}
{% if permalink %}
<link rel="canonical" href="{{ abs_link(permalink) }}">
{% endif %}
<link rel="canonical" href="{{ abs_link(permalink) }}">

{% if favicons %}
{% for name, file, size in favicons %}
@@ -26,6 +26,7 @@ dir="rtl" \
lang="${lang}">
<head>
<meta charset="utf-8">
<base href="${abs_link(permalink)}">
%if description:
<meta name="description" content="${description}">
%endif
@@ -34,9 +35,7 @@ lang="${lang}">

${html_stylesheets()}
${html_feedlinks()}
%if permalink:
<link rel="canonical" href="${abs_link(permalink)}">
%endif
<link rel="canonical" href="${abs_link(permalink)}">

%if favicons:
%for name, file, size in favicons:

0 comments on commit d329bff

Please sign in to comment.