-
Notifications
You must be signed in to change notification settings - Fork 43
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
Update sidebar GitHub links and taxonomies #638
Conversation
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-638.westus2.azurestaticapps.net |
{{ $context := .context }} | ||
{{ $taxo := .taxo }} | ||
{{ $title := .title }} | ||
{{ if and (isset $context.Site.Taxonomies (lower $taxo)) ($context.Page.IsHome) }} |
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 main update here is the addition of and (....) ($context.Page.IsHome)
, where ...
is existing logic that was already there before.
Adding the check for IsHome
ensures that this only applies to the home page
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-638.westus2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-638.westus2.azurestaticapps.net |
* Create .gitattributes * Add dropdown arrows to sections (#639) * Add output for failed spellcheck runs (#641) * Add output steps * Add misspelled word * Switch comment provider * Clear comment on success * Rename job * Add concurrency control * Fix spelling issue * Disable section pages (#644) * Disable section page nav * Update section pages * Apply suggestions from code review Co-authored-by: Will <[email protected]> * Remove _ for leaf pages --------- Co-authored-by: Will <[email protected]> * Update sidebar GitHub links and taxonomies (#638) * Update GitHub issues links * Only show tags/categories on home page * v0.22 to edge upmerge Signed-off-by: Will Tsai <[email protected]> * v0.22 to edge upmerge Signed-off-by: Will Tsai <[email protected]> --------- Signed-off-by: Will Tsai <[email protected]> Co-authored-by: Aaron Crawfis <[email protected]>
This PR:
Partially addresses #637