Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I edit the home template? #97

Open
nmeri17 opened this issue Mar 19, 2023 · 2 comments
Open

How do I edit the home template? #97

nmeri17 opened this issue Mar 19, 2023 · 2 comments

Comments

@nmeri17
Copy link

nmeri17 commented Mar 19, 2023

While using the default theme, I had a lot of text beneath the "Features" section. After activating this theme, none of that text is being rendered, even though it's in the file. Your template uses only the front-matter, which makes no provision for detailing what project does before pressing Get Started or whatever

In addition, for some reason, my logo is surrounded by a large amount of white space. Is there a way to control this such that logo, tagline, its button and features section fit at first glance of that landing page?

@ulivz
Copy link
Owner

ulivz commented Mar 21, 2023

You can fully custom your home page by:

---
layout: YourLayout
---

@nmeri17
Copy link
Author

nmeri17 commented Mar 21, 2023

Yea, doing that eventually worked. I don't recall what exactly I changed but it was throwing errors initially, about missing components. I think the layout pattern only worked after ejecting default theme and deleting that ejection

The only issue I'm currently facing is not knowing how the header components (search, nav, dark mode, logo, right buttons) are injected into the home component. So I manually pasted <Navbar/> and they appeared, but the left menu drawer doesn't work on mobile. The icon is just there. I compared it to the one on your site and that one clicks on mobile. Would you like to see my repository or can you guess what the problem is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants