Commit eca6c978 authored by Ricardo Avila's avatar Ricardo Avila

Make notes landing page a table of contents.

parent e30367c6
......@@ -11,8 +11,8 @@ header:
- title: CV
url: /cv.html
- title: <i class="fas fa-bookmark"></i>
url: /links.html
- title: Notes
url: /notes.html
notes-nav:
- title: <i class="fas fa-flask"></i> Bioinformatics
......
---
layout: article
title: Links
show_date: false
---
## Ricardo's Notes
My notes on various topics:
[Ricardo's Notebook](/notes/bioinformatics/e-value-bitscore){:.button.button--primary.button--rounded.button--lg}
## Blogs
A curated list of my favorite blogs:
- [Is life worth living?](https://iwatobipen.wordpress.com/)
- [Practical Cheminformatics (Pat Walters)](http://practicalcheminformatics.blogspot.com/)
- [Thomas Kainrad](https://tkainrad.dev/)
- [Paul Stamatiou](https://paulstamatiou.com/)
- [Half Integer](http://blog.rogerluo.me/)
---
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 -%}
<h2>{{ _item.title }}</h2>
{%- 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 -%}
<li class="toc-h2 active"><a href="{{ _nav_url }}">{{ _child.title }}</a></li>
{%- else -%}
<li class="toc-h2"><a href="{{ _nav_url }}">{{ _child.title }}</a></li>
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endif -%}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment