chrisbobbe / jekyll-theme-prologue

A Jekyll version of the "Prologue" theme by HTML5 UP
https://chrisbobbe.github.io/jekyll-theme-prologue/
Other
435 stars 941 forks source link

add profile section to a page and show in the respective nav bar #3

Open alvarmaciel opened 6 years ago

alvarmaciel commented 6 years ago

Hi, Thanks for this awesome theme. I'm trying to ad a gallery and I want to add to the gallery page the profile section. I think that if can do that it will appear in the respective nav bar. but i'm newbie no this collections setting. Can you explain me how to do it. Thanks

chrisbobbe commented 6 years ago

Hi! Thanks for using this theme, I'm glad you like it! :)

Are you trying to add sections to the homepage? If so, just add a .html or .md file to the _sections folder and it should work. There's an example in _sections/portfolio.html that has some pictures with captions. This section appears as part of the homepage, with a link on the left. It's currently the second section from the top at https://chrisbobbe.github.io/jekyll-theme-prologue/.

Are you trying to add sections to another page besides the homepage (where layout: page is set in the frontmatter)? Unfortunately, I haven't yet added this feature. The template I built it from doesn't support multiple pages, and I've added some functionality to fill in that hole. But I haven't fixed this problem yet. Is it possible to include your profile section in the homepage along with its other sections? A single-page design can be more attractive to viewers because it means less time waiting for the page to reload when you click a link. In the meantime I'll try to think of ways to implement multiple sections on a page that has layout: page.