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

[Enhancement] Add class for home page #18

Open
djipco opened this issue Apr 6, 2020 · 1 comment
Open

[Enhancement] Add class for home page #18

djipco opened this issue Apr 6, 2020 · 1 comment

Comments

@djipco
Copy link

djipco commented Apr 6, 2020

Would it be possible to add a class to <body> when we are on the home page? That would simplify the task of adding elements to the home page only.

P.S. I really like foodoc. It's a great template!

@cmidgley
Copy link

I have a similar request, which is to add a class that describes the page type - for example, tutorial, readme (or home as djipco recommends) and class. I would like to style my tutorial pages differently than the other pages, and this would help to avoid a post processor.

Also agree ... it is a fantastic template. Thank you!

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