Skip to content
Permalink
Browse files

Fix #147 -- add bundle support to hpstr

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 7, 2018
1 parent 0d21137 commit 03c3d63611008d6cc6280768ee46b54394063e89
Showing with 3 additions and 6 deletions.
  1. +0 −1 v7/hpstr/README.md
  2. +1 −0 v7/hpstr/bundles
  3. +2 −5 v7/hpstr/templates/base_helper.tmpl
@@ -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
@@ -0,0 +1 @@
all.css=rst.css,code.css,main.css,extra.css,custom.css
@@ -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">
@@ -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>

0 comments on commit 03c3d63

Please sign in to comment.
You can’t perform that action at this time.