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

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

Open
alvarmaciel opened this issue Jan 24, 2018 · 1 comment
Open

Comments

@alvarmaciel
Copy link

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
Copy link
Owner

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.

sitongan referenced this issue in sitongan/sitongan.github.io Aug 1, 2018
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