Skip to content

Commit

Permalink
gum: Add optional CUSTOM_CSS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkp committed May 8, 2024
1 parent ecb1f9c commit 12187f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ Other features include:

```
SITESUBTITLE = 'your site subtitle'
CUSTOM_CSS = 'path to some optional css overrides file'
```


The following standard Pelican settings are honored:

```
Expand Down
4 changes: 3 additions & 1 deletion gum/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/gumby.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/style.css" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/pygment.css" />

{% if CUSTOM_CSS %}
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/{{ CUSTOM_CSS }}" />
{% endif %}
<script src="{{ SITEURL }}/theme/js/libs/modernizr-2.6.2.min.js"></script>


Expand Down

0 comments on commit 12187f5

Please sign in to comment.