- {{ content }}
+ {% if page.toc %}
+ {{ content | toc_generate }}
+ {% else %}
+ {{ content }}
+ {% endif %}
diff --git a/Resume.pdf b/Resume.pdf deleted file mode 100644 index ac97cbb..0000000 Binary files a/Resume.pdf and /dev/null differ diff --git a/_config.yml b/_config.yml index b703bc3..818afe5 100644 --- a/_config.yml +++ b/_config.yml @@ -32,3 +32,6 @@ collections: output: true permalink: /travel/:path/ path: /travel + +contentsLabel: "Table of Contents" +showToggleButton: true diff --git a/_layouts/default.html b/_layouts/default.html index cf41411..7c2ace6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -10,7 +10,11 @@
%1%2
|