Skip to content

Commit

Permalink
Fix #147 -- add bundle support to hpstr
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 7, 2018
1 parent 0d21137 commit 03c3d63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion v7/hpstr/README.md
Expand Up @@ -8,4 +8,3 @@ Known Issues:
* CDNs are not used regardless of ``USE_CDN``
* It doesn't yet support configuring the entry image in the frontpage
* It doesn't yet support posts with "feature images"
* It doesn't support USE_BUNDLES = True
1 change: 1 addition & 0 deletions v7/hpstr/bundles
@@ -0,0 +1 @@
all.css=rst.css,code.css,main.css,extra.css,custom.css
7 changes: 2 additions & 5 deletions v7/hpstr/templates/base_helper.tmpl
Expand Up @@ -77,11 +77,7 @@ lang="${lang}">

<%def name="html_stylesheets()">
%if use_bundles:
%if use_cdn:
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
%else:
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
%endif
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
%else:
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
Expand All @@ -91,6 +87,7 @@ lang="${lang}">
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
%endif
%endif

<!-- Webfonts -->
<link href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic" rel="stylesheet" type="text/css">
</%def>
Expand Down

0 comments on commit 03c3d63

Please sign in to comment.