Add the FOOTER_TEXT variable

This commit is contained in:
Arnaud Rebillout
2020-07-27 15:26:33 +07:00
parent a3258aa902
commit ce462fea8b
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ Additional settings:
- `BIO` - short biography to display in the sidebar, eg. `Hello world` - `BIO` - short biography to display in the sidebar, eg. `Hello world`
- `PROFILE_IMAGE` - image to display in the sidebar, eg. `avatar.png` - `PROFILE_IMAGE` - image to display in the sidebar, eg. `avatar.png`
- `FOOTER_TEXT` - footer to display in the sidebar, eg. `(C) 2020 Foo Bar`
- `COLOR_THEME` - base colors for the theme, choose from `08` to `0f`, - `COLOR_THEME` - base colors for the theme, choose from `08` to `0f`,
refer to <https://github.com/poole/hyde> for details. refer to <https://github.com/poole/hyde> for details.
- `FONT_AWESOME_CSS` - URL to get Font Awesome as CSS - `FONT_AWESOME_CSS` - URL to get Font Awesome as CSS
+5
View File
@@ -129,6 +129,11 @@ a.sidebar-social-item.active:hover,
a.sidebar-social-item.active:focus { a.sidebar-social-item.active:focus {
color: #fff; color: #fff;
} }
.sidebar-footer {
font-size: .7rem;
margin-bottom: 0;
margin-top: .5rem;
}
/* Sticky sidebar /* Sticky sidebar
* *
+3
View File
@@ -53,5 +53,8 @@
<i class="fa fa-rss"></i> <i class="fa fa-rss"></i>
</a> </a>
</nav> </nav>
{% if FOOTER_TEXT %}
<p class="sidebar-footer">{{ FOOTER_TEXT }}</p>
{% endif %}
</div> </div>
</div> </div>