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

Struggling with the Homepage #12

Open
silversufer opened this issue May 24, 2024 · 4 comments
Open

Struggling with the Homepage #12

silversufer opened this issue May 24, 2024 · 4 comments

Comments

@silversufer
Copy link

I really like the theme and would like to use it. Unfortunately, there’s something I don’t understand. I’m a beginner with block themes and hope you can help me with my issue.

I created a page for the homepage and another one for the blog. Under Settings > Reading, I assigned these pages accordingly. Now, I want to edit the homepage with my content. However, when I edit the page, it is empty. If I add content, I cannot see the changes on the homepage. What am I doing wrong? Could you please give me a tip? I am reluctant to edit the homepage template because it is a predefined template. I hope I have expressed my issue clearly and look forward to your response.

@andersnoren
Copy link
Owner

Hey @silversufer,

Glad you like it! Björk includes the Front Page template, which takes precedent over all other templates (and the settings at Settings → Reading). You can modify the content of the front page directly by going to Appearance → Editor, and clicking the preview to the right.

If you want to use the content of another page here, you can locate the “Group” block in the right column of theme layout, directly above the “Footer” template part, remove it, and add a “Content” block in its place. Make sure to set it to “Inner blocks use content width” in the right settings sidebar.

If you save the template now, the content of the page you’ve set as the front page in Settings → Reading will be shown on the front page.

@silversufer
Copy link
Author

Hey @andersnoren,
Thank you for your feedback and explanations. I apologize if I need to ask for further clarification. So, this means I change the contents for the front page in this theme directly in the “Site Editor” - in the template, correct (because this template takes precedence over all other templates)?

@andersnoren
Copy link
Owner

@silversufer Correct!

@silversufer
Copy link
Author

@andersnoren Thank you very much :-)

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