new_site/_includes
Andrew Boyer 3b1c10844f
fix: blog highlighted in nav for child pages (#2516)
Currently, in all blog posts, or any child page under /blog, the "blog"
in nav is not highlighted.

In all other child pages for a parent in nav, the parent is highlighted.
For example, in a sub page of projects, projects in nav is highlighted.

This fix creates a consistent behavior for nav and highlights the blog
in nav if in a blog post.

BEFORE:
<img width="1427" alt="image"
src="https://github.com/alshedivat/al-folio/assets/52665298/fc79727c-dc22-4af7-8c16-80efa216ecbc">

AFTER:
<img width="1434" alt="image"
src="https://github.com/alshedivat/al-folio/assets/52665298/6b32e7f9-e421-4b08-b86e-813b20ac058e">
2024-06-18 14:42:02 -03:00
..
cv format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
repository format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
resume Fix: date pill position on CV (#2455) 2024-05-31 13:27:10 -03:00
scripts Fixed external post symbol on search (#2515) 2024-06-18 11:45:34 -03:00
audio.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
citation.liquid Added post citation (#2377) 2024-04-29 14:28:06 -03:00
disqus.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
figure.liquid Changed lazy loading in figure.liquid 2024-02-14 12:58:28 -03:00
footer.liquid Axe accessibility test support (#2080) 2024-01-15 16:38:31 -03:00
giscus.liquid Added "follow system" option to theme toggle (#2261) 2024-03-13 22:42:46 -03:00
head.liquid Fix offline leaflet (#2420) 2024-05-15 17:56:00 -03:00
header.liquid fix: blog highlighted in nav for child pages (#2516) 2024-06-18 14:42:02 -03:00
latest_posts.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
metadata.liquid Move libs versions to config (#2139) 2024-01-28 19:10:42 -03:00
news.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
pagination.liquid fix: remove 'index.html' in pagination (#2509) 2024-06-15 16:31:40 -03:00
projects.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
projects_horizontal.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
related_posts.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
selected_papers.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
social.liquid feat: added IEEE and ACM social (#2321) 2024-04-07 17:05:41 -03:00
video.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00