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>
5 行
165 B
HTML
5 行
165 B
HTML
<a href="/docs/">Docs</a> ·
|
|
<a href="/blog/">Blog</a> ·
|
|
<a href="https://github.com/micro/go-micro">GitHub</a> ·
|
|
<a href="/support">Support</a>
|