diff --git a/layouts/docs/tutorials.html b/layouts/docs/tutorials.html index 103bafebe47..23654e5dbf1 100644 --- a/layouts/docs/tutorials.html +++ b/layouts/docs/tutorials.html @@ -50,11 +50,18 @@

Javascript

- {{ range first 20 (where .Site.Pages "Section" "tutorials") }} - {{ range .Pages }} -{{ partial "tutorialcard-no-js.html" (dict "link" (.RelPermalink)) }} - {{ end }} - {{ end }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/get-started/blink-an-led/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/get-started/try-viam-sdk/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/get-started/servo-mousemover/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/get-started/confetti-bot/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/get-started/lazy-susan/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/configure/build-a-mock-robot/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/accessing-and-moving-robot-arm/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/plan-motion-with-arm-gripper/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/constrain-motion/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/color-detection-scuttle/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/webcam-line-follower-robot/") }} + {{ partial "tutorialcard-no-js.html" (dict "link" "/tutorials/services/data-management-tutorial/") }}
diff --git a/layouts/partials/sidebar-tree.html b/layouts/partials/sidebar-tree.html index 5605a44a0a3..47af39d08a6 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -51,7 +51,6 @@ {{ $manualLink := cond (isset $s.Params "manuallink") $s.Params.manualLink ( cond (isset $s.Params "manuallinkrelref") (relref $s $s.Params.manualLinkRelref) $s.RelPermalink) -}} {{ $manualLinkTitle := cond (isset $s.Params "manuallinktitle") $s.Params.manualLinkTitle $s.Title -}} {{ $empty_node := $s.Params.empty_node -}} -
  • {{ if (and $p.Site.Params.ui.sidebar_menu_foldable (ge $ulNr 1)) -}} @@ -67,7 +66,7 @@ {{ $s.LinkTitle }} {{- end }} - {{- if (and (and $withChild (not $treeRoot) (ne $s.Permalink "/tutorials/" ) ) ) }} + {{- if (and (and $withChild (not $treeRoot) (ne .section.File.Path "tutorials/_index.md" ) ) ) }} {{ if (or $activePath $active) }} @@ -81,7 +80,7 @@ {{ end }} {{- end }} - {{- if (and $withChild (ne $s.Permalink "/tutorials/" ) ) }} + {{- if (and $withChild (ne .section.File.Path "tutorials/_index.md" ) ) }} {{- $ulNr := add $ulNr 1 }}