forestryio / hugo-theme-novela

Novela, the simplest way to start publishing with Hugo and Forestry.
https://hugo-novela-forestry.netlify.app/
MIT License
361 stars 192 forks source link

Question: What is the hero section/partial? #36

Closed iranvir closed 4 years ago

iranvir commented 4 years ago

Hello! I am trying to port the theme for personal site, and I am a complete novice when it comes to UI/UX can somebody tell me what is the purpose of hero.html is it meant to represent the authors, or is there a different reasoning behind the 'hero' nomenclature? I have seen it a bunch of time, but there are other files too like authors, bio, etc, hence the confusion.

Sorry if the question is too vague. I am trying to trim out any excess bit of code that a personal blog, like mine, would not require and learn a little bit of web dev on the way. Any documentation you folks can link me to would be really awesome as well.

P.S: Thank you for an amazing theme

DirtyF commented 4 years ago

A hero is a distinguishable block, usually displayed with a large font that contains an article header and metadata.

Capture d’écran 2020-05-14 à 11 03 40

See the corresponding partial: https://github.com/forestryio/hugo-theme-novela/blob/master/layouts/partials/page/hero.html