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 a7af719a9ed..47af39d08a6 100644 --- a/layouts/partials/sidebar-tree.html +++ b/layouts/partials/sidebar-tree.html @@ -66,7 +66,7 @@ {{ $s.LinkTitle }} {{- end }} - {{- if (and $withChild (not $treeRoot) ) }} + {{- if (and (and $withChild (not $treeRoot) (ne .section.File.Path "tutorials/_index.md" ) ) ) }} {{ if (or $activePath $active) }} @@ -80,7 +80,7 @@ {{ end }} {{- end }} - {{- if $withChild }} + {{- if (and $withChild (ne .section.File.Path "tutorials/_index.md" ) ) }} {{- $ulNr := add $ulNr 1 }}