chrisrhymes / bulma-clean-theme

A clean and modern Jekyll theme based on Bulma
http://www.csrhymes.com/bulma-clean-theme/
MIT License
386 stars 489 forks source link

Configurable footer and sidebars #1

Closed vgoel closed 5 years ago

vgoel commented 5 years ago

Hey! Great theme, just came across it and it seems super powerful. I would like to see if its possible to create a configurable footer based on the nav structure you have defined. As an example, in menu.yml within _data:

items:

However, it would be nice to have flexbox configurable as well to include the nav links in a given box. But maybe that is asking too much....

Same for sidebars if possible (currently only latest blog posts are there)

I may be able to help add this but I would need to work with you to come up with a proper structure.

Reasoning: Would like to use this theme for a baseline for online marketing/ecommerce type sites. Would love to have integration with formspree or something similar for getting email signups etc , in the footer and possibly in a sidebar as well (configurable).

Any ideas?

chrisrhymes commented 5 years ago

Hi @vgoel, thanks for the feedback!

I like the idea of footer links so I have now added these to the theme. Please see the readme for instructions on setting them up.

I've kept it separate from the other menu yaml file as you might have links in the footer that are not in the main navigation or side menu bar, such as cookies and privacy policies, etc.

I'll have a think about the other changes, but in the mean time, if you want to further customise the theme you could try overriding the theme default files as per the Jekyll documentation.

vgoel commented 5 years ago

Thanks for the fast turnaround! Looks really good! I will close this issue for now. I am going to see if I can do further enhancements and submit a PR if they are worthy of being included. Thanks again!

chrisrhymes commented 5 years ago

@vgoel just to let you know I have just implemented simple product pages in the theme as well.

Product page demo

Hope you find them useful.

vgoel commented 5 years ago

That is bloody brilliant! Thanks a ton. This is a super useful feature. I will play with it and report back

GreatGodApollo commented 5 years ago

I understand this issue is closed, but would it be possible for an option to disable the footer on pages?

chrisrhymes commented 5 years ago

Hi @greatgodapollo you can create an _includes directory in your site and create an empty file called footer.html to overwrite the default footer. See overwriting theme defaults for more info.

GreatGodApollo commented 5 years ago

It's not that I don't want a footer, it's that I'd like to be able to disable the footer on certain pages.

chrisrhymes commented 5 years ago

@GreatGodApollo you can now disable the footer on a page by page basis

7