Add some style to this resume; fill in some AuthExp stuff
This commit is contained in:
parent
9174ce81e5
commit
43cfec4572
4 changed files with 58 additions and 22 deletions
25
layouts/resume/single.html
Normal file
25
layouts/resume/single.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{{ define "main" }}
|
||||
|
||||
<article id="resume" class="post-single">
|
||||
<header class="post-title">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</header>
|
||||
|
||||
<section class="post-content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
|
||||
<!-- Post Nav -->
|
||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}<!---->
|
||||
{{ if and (gt (len $pages) 1) (in $pages . ) }}
|
||||
<nav class="post-nav">
|
||||
{{ with $pages.Next . }}
|
||||
<a class="prev" href="{{ .Permalink }}"><span>←</span><span>{{ .Name }}</span></a>
|
||||
{{ end }} {{ with $pages.Prev . }}
|
||||
<a class="next" href="{{ .Permalink }}"><span>{{ .Name }}</span><span>→</span></a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
</article>
|
||||
|
||||
{{ end }}
|
4
layouts/shortcodes/resume_section.html
Normal file
4
layouts/shortcodes/resume_section.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<header class="flex-date">
|
||||
<h3>{{ .Get "company" }}: {{ .Get "team" }}</h3>
|
||||
<time class="date">{{ .Get "from" }} to {{ with .Get "to" }}{{ . }}{{ else }}present{{ end }}</time>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue