Skip to content

Commit 03c3d63

Browse files
committedApr 7, 2018
Fix #147 -- add bundle support to hpstr
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 0d21137 commit 03c3d63

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
 

‎v7/hpstr/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ Known Issues:
88
* CDNs are not used regardless of ``USE_CDN``
99
* It doesn't yet support configuring the entry image in the frontpage
1010
* It doesn't yet support posts with "feature images"
11-
* It doesn't support USE_BUNDLES = True

‎v7/hpstr/bundles

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
all.css=rst.css,code.css,main.css,extra.css,custom.css

‎v7/hpstr/templates/base_helper.tmpl

+2-5
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ lang="${lang}">
7777

7878
<%def name="html_stylesheets()">
7979
%if use_bundles:
80-
%if use_cdn:
81-
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
82-
%else:
83-
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
84-
%endif
80+
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
8581
%else:
8682
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
8783
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
@@ -91,6 +87,7 @@ lang="${lang}">
9187
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
9288
%endif
9389
%endif
90+
9491
<!-- Webfonts -->
9592
<link href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic" rel="stylesheet" type="text/css">
9693
</%def>

0 commit comments

Comments
 (0)