Skip to content

Commit

Permalink
Merge pull request #269 from ansforge/manage_versions
Browse files Browse the repository at this point in the history
update version 2 menu
  • Loading branch information
zilliw authored Dec 16, 2024
2 parents acbb2df + 27b34ba commit fc023c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
2 changes: 1 addition & 1 deletion docs/_data/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ header:
url: /pages/guide/version-1/advanced/storage.html
title: Stockage
- page: Version 2
url: /pages/guide/version-1/getting-started/introduction.html
url: /pages/guide/version-2/getting-started/introduction.html
title: Version 2
subfolderitems:
- page: Démarrage rapide
Expand Down
42 changes: 0 additions & 42 deletions docs/_layouts/documentation.html

This file was deleted.

5 changes: 1 addition & 4 deletions docs/_layouts/menu-version-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% assign version_2_menu = guides_menu.subfolderitems | where: "page", "Version 2" | first %}
{% if version_2_menu %}
<li class="nav-item common-nav-item">
<a>{{ version_2_menu.page }}</a>
<a href="{{ version_2_menu.url | relative_url }}">{{ version_2_menu.title }}</a>
<ul class="navbar-nav nav-lvl-1">
{% for item in version_2_menu.subfolderitems %}
<li class="nav-item common-nav-item">
Expand Down Expand Up @@ -45,10 +45,7 @@
<h1 class="page-heading">{{ page.title }}</h1>
{%- endif -%}

<!-- Inclusion du contenu principal -->
{{ content }}

{% include next-resource.html %}
</div>
</main>
</div>
Expand Down

0 comments on commit fc023c5

Please sign in to comment.