-
Notifications
You must be signed in to change notification settings - Fork 19
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 blog infrastructure #347
Conversation
👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. |
The left nav bar in question is determined by the toc at the end of the index.md page
I think we should remove the resource-gallery from here, and maybe add a separate how-to-cite page (even though this is proposed in a PR to be on the main page, thoughts?). The about page is the only one only advertised in the footer. Contributing and code of conduct are in the "Join us" section. Or is this not right because the cookbook-gallery is not in the navbar. -- Is that because Update: removing resource-gallery here removes it from the blog page and the code of conduct page, but not about or contributing for some reason. This is on my local build. |
Hi @jukent, a lot of ideas / questions here! I think adding a blog is a great idea. I also use the ablog package for my personal site. I think there are a lot of design decisions about our home page / site navigation that are out of date and should be reconsidered. My suggestion for now is to avoid trying to solve too many problems at once. Let's get the blog going (yay!) and then devote some upcoming meeting time to brainstorming an overhaul of the site navigation. It would be great to have a prominent "latest posts" section easily visible from the home page for news and announcements, but let's deal with that separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first blog post looks great! We'll figure out the bigger picture of site navigation later.
Yay thanks @brian-rose I tried not to push any changes related to other site navigation issues, but adding the blog highlighted them in my mind. Happy to discuss this more on Monday. |
@jukent is there any documentation (contributor's guide) on how to create a new blog post with ablog? |
There should be! I'll add that. For now I believe, if you just make a .md file in the
it will appear in the blog |
Cool. Thanks! |
Uh oh. That doesn't seem to be working for me. The new blog post does not appear when I test locally. I've done a complete environment install from scratch and have followed our contributor's guide. The new file,
|
@clyne try explicitly setting
and see if that helps. I can't find it mentioned anywhere in the ablog docs but all the examples seem to use three letter months. |
Thanks, @brian-rose, but no dice. The |
@clyne one hiccup of our navbars is that if you click the "blog" option is directs you to the real published site and out of the preview. Are you clicking that button? If so, try adding |
Yes, that works. Thank you. Should we be using relative URLs where possible to avoid this problem, or would that open up another can of worms? |
Yes I'll investigate that this week. I think it's kept this way to keep the navbar consistent across repositories. But I think it can be a relative link from the portal, if not from foundations. |
Thanks, @jukent. Probably not a high priority - I don't think we get a lot of external contributions to the portal:-) |
Yes we are duplicating / triplicating a bunch of code to create the same navbar from different repositories, with this unfortunately side-effect in the previews. There must be a better way to do it. Maybe that will follow from our Sphinx theme reboot efforts. |
Adding blog infrastructure using Ablog as a place to make updates and announcements.
We might also want to embed the most recent update somewhere on the index homepage, but that is an extra layer of complexity.
Adding a navbar link to the Blog makes other Pythia pages more findable (About Project Pythia, Contributor’s Guide, and Code of Conduct), but also duplicates a link to the resource gallery. This highlights some other weeds in our portal code.
I think we should have a larger discussion about what we want this left navbar to look like, but that shouldn't block the inclusion of a blog.
Also, will have to add the blog to Foundations and Cookbook-Gallery navbars separately.