diff --git a/src/components/common/Layout.js b/src/components/common/Layout.js index 464ab82..2d81a0c 100644 --- a/src/components/common/Layout.js +++ b/src/components/common/Layout.js @@ -39,12 +39,14 @@ const DefaultLayout = ({ data, children, bodyClass, isHome, hasFeatureImage }) =
+ { !isHome && {site.logo ? {site.title} : {site.title} } + }
{ site.twitter && Twitter} @@ -54,7 +56,10 @@ const DefaultLayout = ({ data, children, bodyClass, isHome, hasFeatureImage }) =
{ isHome ?
-

{site.title}

+ {site.logo ? +

{site.title}

+ :

{site.title}

+ }

{site.description}

: null} @@ -64,7 +69,7 @@ const DefaultLayout = ({ data, children, bodyClass, isHome, hasFeatureImage }) =
- About + Subscribe
diff --git a/src/styles/app.css b/src/styles/app.css index 27eae5c..5544f20 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -698,6 +698,11 @@ h6 { height: 25px; } +.site-logo-home { + height: 6rem; + margin: 1rem; +} + .site-mast { display: flex; align-items: center;