Skip to content

Commit

Permalink
Merge pull request #776 from slinkp/slinkp/add-extra-footer-template
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer authored May 9, 2024
2 parents ecb1f9c + 8649bd3 commit 14813b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ To use Disqus, add the Disqus site name via the following variable.
DISQUS_SITENAME = ''
```


To add content or markup to the footer of every page: Add an `extra_footer.html` file to
a directory in your `THEME_TEMPLATES_OVERRIDES` path. It is empty by default.

Other features include:

```
Expand Down
1 change: 1 addition & 0 deletions gum/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ <h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong><
<footer id="credits" class="row">
<div class="seven columns left-center">

{% include 'extra_footer.html' %}
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
which takes great advantage of <a href="http://python.org">Python</a>.
Expand Down
1 change: 1 addition & 0 deletions gum/templates/extra_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- override this to add custom footer html -->

0 comments on commit 14813b2

Please sign in to comment.