🗃️ Reorganize resume sections for modularity
This commit is contained in:
parent
368cd3619b
commit
47eb246b7d
9 changed files with 37 additions and 21 deletions
|
|
@ -139,19 +139,3 @@ outputs = ['html','resume']
|
|||
{.history}
|
||||
|
||||
</section><!-- /#workhistory -->
|
||||
|
||||
<section id="education">
|
||||
|
||||
## Education
|
||||
|
||||
<div class="container">
|
||||
|
||||
**Bachelor of the Arts - Theater**
|
||||
|
||||
University of Texas at Austin
|
||||
|
||||
August 2004 - May 2008
|
||||
|
||||
</div>
|
||||
|
||||
</section><!-- /#education -->
|
||||
|
|
|
|||
14
content/web/sections/foot-015-edu.md
Normal file
14
content/web/sections/foot-015-edu.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
id: education
|
||||
---
|
||||
## Education
|
||||
|
||||
<div class="container">
|
||||
|
||||
**Bachelor of the Arts - Theater**
|
||||
|
||||
August 2004 - May 2008
|
||||
|
||||
University of Texas at Austin
|
||||
|
||||
</div>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<div class="toc-title">{{ i18n "tableOfContents" }}</div>
|
||||
<nav id="TableOfContents">
|
||||
<ul>
|
||||
{{ range .Resources.Match "sections/*.md" }}
|
||||
{{ range .Resources.Match "sections/head-*.md" }}
|
||||
{{ $toc := strings.Substr .TableOfContents 37 }}
|
||||
{{ $toc = strings.TrimSuffix "</ul>\n</nav>" $toc }}
|
||||
{{ $toc | safeHTML }}
|
||||
|
|
@ -46,6 +46,12 @@
|
|||
{{ $toc := strings.Substr .TableOfContents 37 }}
|
||||
{{ $toc = strings.TrimSuffix "</ul>\n</nav>" $toc }}
|
||||
{{ $toc | safeHTML }}
|
||||
|
||||
{{ range .Resources.Match "sections/foot-*.md" }}
|
||||
{{ $toc := strings.Substr .TableOfContents 37 }}
|
||||
{{ $toc = strings.TrimSuffix "</ul>\n</nav>" $toc }}
|
||||
{{ $toc | safeHTML }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ with .Resources.GetMatch "dan-jones-resume.pdf" }}
|
||||
<p><a href="{{ .RelPermalink }}">Download a PDF</a></p>
|
||||
|
|
@ -54,7 +60,7 @@
|
|||
</aside>
|
||||
<hr />
|
||||
{{ end }}
|
||||
{{ range .Resources.Match "sections/*.md" }}
|
||||
{{ range .Resources.Match "sections/head-*.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
{{ .Content }}
|
||||
{{- if eq .Params.id "projects" }}
|
||||
|
|
@ -71,6 +77,12 @@
|
|||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ range .Resources.Match "sections/foot-*.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
{{ .Content }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
</article>
|
||||
|
||||
<hr />
|
||||
|
|
|
|||
|
|
@ -20,20 +20,20 @@
|
|||
{{ with .Params.Description }}<p>{{ . | markdownify }}</p>{{ end }}
|
||||
</header>
|
||||
|
||||
{{ with .Resources.Get "sections/005-contact.md" }}
|
||||
{{ with .Resources.Get "sections/head-005-contact.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
{{ .Content }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Resources.Get "sections/007-summary.md" }}
|
||||
{{ with .Resources.Get "sections/head-007-summary.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
<h2>Objectives</h3>
|
||||
{{ .Content }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Resources.Get "sections/010-skills.md" }}
|
||||
{{ with .Resources.Get "sections/head-010-skills.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
{{ .Content }}
|
||||
</aside>
|
||||
|
|
@ -43,6 +43,12 @@
|
|||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ with .Resources.Get "sections/foot-015-edu.md" }}
|
||||
<aside id="{{ .Params.id }}" class="{{ .Params.class }}">
|
||||
{{ .Content }}
|
||||
</aside>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Resources.Get "data/projects.toml" }}
|
||||
<aside id="projects">
|
||||
{{ partial "projects.resume.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue