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>
7 行
167 B
HTML
7 行
167 B
HTML
<footer class="footer">
|
|
<div>© {{ site.time | date: '%Y' }} Go Micro. Apache 2.0 Licensed.</div>
|
|
<div>
|
|
{% include footer-links.html %}
|
|
</div>
|
|
</footer>
|