--- layout: notes title: Ricardo's Notes show_date: false aside: toc: false sidebar: nav: notes-nav --- {%- if page.sidebar.nav -%} {%- assign _sidebar_nav = site.data.navigation[page.sidebar.nav] -%} {%- if _sidebar_nav -%} {%- for _item in _sidebar_nav -%}

{{ _item.title }}

{%- if _item.children -%} {%- for _child in _item.children -%} {%- include snippets/get-nav-url.html path=_child.url -%} {%- assign _nav_url = __return -%} {%- include snippets/get-nav-url.html path=page.url -%} {%- assign _page_url = __return -%} {%- if _nav_url == _page_url -%}
  • {{ _child.title }}
  • {%- else -%}
  • {{ _child.title }}
  • {%- endif -%} {%- endfor -%} {%- endif -%} {%- endfor -%} {%- endif -%} {%- endif -%}