micro--go-micro
3f40028a7f
Extract the nav and footer link lists into _includes/nav-links.html and _includes/footer-links.html, and the full marketing nav/footer into _includes/marketing-nav.html and _includes/marketing-footer.html. - index.html and support.html now pull their nav/footer from the shared marketing includes (and gain Liquid front matter so includes resolve). - The docs and blog layouts pull the same link lists, so a nav/footer link lives in exactly one place site-wide. This also adds the missing Support link to the blog nav and fixes the blog footer's Support link (it still pointed at the question template). - Active nav state is driven by a per-page nav_active flag. Verified with a local jekyll build: landing, support, docs, and blog pages all render the shared nav/footer correctly. Co-authored-by: Claude <noreply@anthropic.com>
10 行
272 B
HTML
10 行
272 B
HTML
<nav class="nav">
|
|
<a class="nav-brand" href="/">
|
|
<img src="https://raw.githubusercontent.com/micro/go-micro/master/logo.png" alt="Go Micro" style="border-radius: 8px;" />
|
|
Go Micro
|
|
</a>
|
|
<div class="nav-links">
|
|
{% include nav-links.html %}
|
|
</div>
|
|
</nav>
|