Skip to content

Commit 7e89706

Browse files
author
reidspencer
committed
Improvements
* Add a better looking logo image. * Use the new image for the logo * override the logo to hopefully resize it
1 parent 135d410 commit 7e89706

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

285 KB
Loading

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ copyright: >
66
<a href="#__consent">Change cookie settings</a>
77
theme:
88
name: material
9-
logo: assets/images/logo_alt_and_name_1_256.png
9+
custom_dir: overrides
10+
logo: assets/images/ossum_logo_and_name-01.png
1011
favicon: assets/images/favicon.png
1112
font:
1213
text: Encode Sans

overrides/partials/logo.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- Logo -->
2+
{% if config.theme.logo %}
3+
<img src="{{ config.theme.logo | url }}" alt="logo" width="322" height="117" title="Ossum Inc."/>
4+
{% else %}
5+
{% set icon = config.theme.icon.logo or "material/library" %}
6+
{% include ".icons/" ~ icon ~ ".svg" %}
7+
{% endif %}

0 commit comments

Comments
 (0)