<aside class="learn-menu">
  <nav id="sideMenu">
    {{ partial "navbar-links-mobile" . }}
    <ul class="learn-menu-content">
      {{- $currentPage := . -}}
      {{- $entries := .Site.Menus.learn_monitoring -}}
      {{- $menuID := "learn_monitoring" -}}

      {{- range $index, $element:= $entries -}}  {{- if .HasChildren -}}
      <li class='learn-menu-item'>
        <div class='learn-menu-title{{ if $currentPage.HasMenuCurrent $menuID . }} active{{ end }}' id="{{$index}}">
          <img src="{{.Pre}}