You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
Hi All,
I'm using this great template inside a existing website, so it's not located in the root folder
/
it's located in a/university
folder.I'm struggling with the
header
component, the code below checks forroot
, in this case/
and includes or not additional classes to the Header.https://github.com/greglobinski/gatsby-starter-hero-blog/blob/master/src/components/Header/Header.js#L27
I was able to partially fix this including the following code:
It works, but it won't scale, for example, breaks if Google analytics sends
utm
tag.. etc.. IMO this is not the best solution.Any ideias for how to improve this?
The text was updated successfully, but these errors were encountered: