Commit 465fa43 1 parent 15217bc commit 465fa43 Copy full SHA for 465fa43
File tree 5 files changed +13
-4
lines changed
bootstrap3-jinja/templates
5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 9
9
Bugfixes
10
10
--------
11
11
12
+ * <base href> resolve common relative resource loading issues
12
13
* Handle non-integer shutter speeds and other variables in WordPress
13
14
importer (Issue #1917)
14
15
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ dir="rtl"
21
21
lang="{{ lang }}">
22
22
<head>
23
23
<meta charset="utf-8">
24
+ <meta name="viewport" content="width=device-width">
25
+ <base href="{{ abs_link(permalink) }}">
26
+
24
27
{% if description %}
25
28
<meta name="description" content="{{ description }}">
26
29
{% endif %}
27
- <meta name="viewport" content="width=device-width">
28
30
<title>{{ title|e }} | {{ blog_title|e }}</title>
29
31
30
32
{{ html_stylesheets() }}
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ dir="rtl" \
21
21
lang="${lang}">
22
22
<head>
23
23
<meta charset="utf-8">
24
+ <meta name="viewport" content="width=device-width">
25
+ <base href="{{ abs_link(permalink) }}">
26
+
24
27
%if description:
25
28
<meta name="description" content="${description}">
26
29
%endif
27
- <meta name="viewport" content="width=device-width">
28
30
<title>${title|striphtml} | ${blog_title|striphtml}</title>
29
31
30
32
${html_stylesheets()}
Original file line number Diff line number Diff line change @@ -26,10 +26,12 @@ dir="rtl"
26
26
lang="{{ lang }}">
27
27
<head>
28
28
<meta charset="utf-8">
29
+ <meta name="viewport" content="width=device-width, initial-scale=1">
30
+ <base href="{{ abs_link(permalink) }}">
31
+
29
32
{% if description %}
30
33
<meta name="description" content="{{ description }}">
31
34
{% endif %}
32
- <meta name="viewport" content="width=device-width, initial-scale=1">
33
35
<title>{{ title|e }} | {{ blog_title|e }}</title>
34
36
35
37
{{ html_stylesheets() }}
Original file line number Diff line number Diff line change @@ -26,10 +26,12 @@ dir="rtl" \
26
26
lang="${lang}">
27
27
<head>
28
28
<meta charset="utf-8">
29
+ <meta name="viewport" content="width=device-width, initial-scale=1">
30
+ <base href="{{ abs_link(permalink) }}">
31
+
29
32
%if description:
30
33
<meta name="description" content="${description}">
31
34
%endif
32
- <meta name="viewport" content="width=device-width, initial-scale=1">
33
35
<title>${title|striphtml} | ${blog_title|striphtml}</title>
34
36
35
37
${html_stylesheets()}
You can’t perform that action at this time.
7 commit comments
Kwpolska commentedon Aug 2, 2015
👎
Please show me any website that uses it. They can also break anchors. Besides, we handle our own URL fixing pretty well.
I’m reverting those commits.
da2x commentedon Aug 2, 2015
No!
da2x commentedon Aug 2, 2015
This was added because of this,
https://chriswarrick.com/blog/2015//07/06/upass/
da2x commentedon Aug 2, 2015
Google Translated pages (from translate.google.com) only works because of this tag rewriting URLs from their original hosts without modifying the document.
da2x commentedon Aug 2, 2015
If you see broken anchors,, the anchors were already broken or too ambiguous.
da2x commentedon Aug 2, 2015
Check out your own 404-pages:
https://chriswarrick.com/dsfs/sdff/ee///dfdf
https://chriswarrick.com/dsfs/sdff/ee/ (not even any double-slashes)
da2x commentedon Aug 2, 2015
For Nikola that uses relative URLs by default, the base tag is highly recommended. Sorting out all of this is the tag’s explicit purpose.