Skip to content

How can I create a custom layout? #4835

Closed Answered by iBug
svaderia asked this question in Q&A
Discussion options

You must be logged in to vote

If you just want to hide some elements, consider using custom classes on that page, and hide those elements with custom CSS.

E.g.

---
layout: home
classes:
  - hide-recent-posts
---
.hide-recent-posts .archive__subtitle {
  display: none;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svaderia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants