Moved ToC Menu to Sidebar (#1582)
Addressing #1551 using the same sidebar as in #1366, removing the inline ToC menu from the CV
This commit is contained in:
parent
53ad434ad2
commit
8883c9ddf7
|
|
@ -10,13 +10,6 @@ layout: default
|
||||||
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
|
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<h4>Table of contents</h4>
|
|
||||||
<ul class="timeline">
|
|
||||||
{% for entry in site.data.cv %}
|
|
||||||
<li><a href="#{{ entry.title }}"><span class="badge-toc">{{ entry.title }}</span></a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<div class="cv">
|
<div class="cv">
|
||||||
{% for entry in site.data.cv %}
|
{% for entry in site.data.cv %}
|
||||||
|
|
@ -52,21 +45,6 @@ layout: default
|
||||||
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
|
{% if page.description %}<p class="post-description">{{ page.description }}</p>{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<h4>Table of contents</h4>
|
|
||||||
<ul class="timeline">
|
|
||||||
{% for entry in site.data.resume %}
|
|
||||||
{% if site.jsonresume and site.jsonresume.size > 0 %}
|
|
||||||
{% unless site.jsonresume contains entry[0] %}
|
|
||||||
{% continue %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endif %}
|
|
||||||
{% if entry[0] == "meta" or entry[1].size == 0 %}
|
|
||||||
{% continue %}
|
|
||||||
{% endif %}
|
|
||||||
<li><a href="#{{ entry[0] }}"><span class="badge-toc">{{ entry[0] | capitalize }}</span></a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<div class="cv">
|
<div class="cv">
|
||||||
{% for data in site.data.resume %}
|
{% for data in site.data.resume %}
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,6 @@ nav: true
|
||||||
nav_order: 4
|
nav_order: 4
|
||||||
cv_pdf: example_pdf.pdf
|
cv_pdf: example_pdf.pdf
|
||||||
description: This is a description of the page. You can modify it in 'pages/_cv.md'. You can also change or remove the top pdf download button.
|
description: This is a description of the page. You can modify it in 'pages/_cv.md'. You can also change or remove the top pdf download button.
|
||||||
|
toc:
|
||||||
|
sidebar: left
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue