Skip to content

Commit 2c33749

Browse files
committed
add material logo for default
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent 6203921 commit 2c33749

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ linkedin: vsochat
3939
dockerhub: vanessa
4040

4141
# Image and (square) dimension for logo (don't start with /)
42-
# logo: "assets/img/logo/SRCC-square-white.png"
43-
logo: "assets/img/logo/SRCC-square-red.png"
42+
# If commented, will use material hat theme
43+
# logo: "assets/img/logo/SRCC-square-red.png"
4444
logo_pixels: 34
4545
color: "#8c1515" # primary color for header, buttons
4646

_includes/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class=md-flex>
1414
<div class="md-flex__cell md-flex__cell--shrink">
1515
<a class="md-header-nav__button md-logo" href="." title="{{ site.title }}">
16-
<img height="{{ site.logo_pixels }}" src="{{ site.baseurl }}/{{ site.logo }}" width="{{ site.logo_pixels }}"></a>
16+
{% if site.logo %}<img height="{{ site.logo_pixels }}" src="{{ site.baseurl }}/{{ site.logo }}" width="{{ site.logo_pixels }}">{% else %}<i class="md-icon" style="margin-top:5px"></i>{% endif %}</a>
1717
</div>
1818
<div class="md-flex__cell md-flex__cell--shrink">
1919
<label class="md-icon md-icon--menu md-header-nav__button" for=__drawer></label>

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="md-sidebar__scrollwrap">
33
<div class="md-sidebar__inner">
44
<nav class="md-nav md-nav--primary" data-md-level="0">
5-
<label class="md-nav__title md-nav__title--site" for="__drawer"><span class="md-nav__button md-logo"><img height="48" src="{{ site.url }}/{{ site.baseurl }}/{{ site.logo }}" width="48"></span> {{ site.title }}</label>
5+
<label class="md-nav__title md-nav__title--site" for="__drawer"><span class="md-nav__button md-logo">{% if site.logo %}<img height="48" src="{{ site.url }}/{{ site.baseurl }}/{{ site.logo }}" width="48">{% else %}<i class="md-icon"></i>{% endif %}</span> {{ site.title }}</label>
66
<div class="md-nav__source">
77
<a class="md-source" data-md-source="github" href="{{ site.repo }}" title="Go to repository">
88
<div class="md-source__icon">
-16.2 KB
Binary file not shown.

assets/img/logo/SRCC-square-red.png

-17.3 KB
Binary file not shown.

assets/img/logo/SRCC-square-white.png

-66.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)