Resume: expand top projects, print icon to PDF

This commit is contained in:
2019-09-10 22:24:37 -04:00
parent ec1ecb7d98
commit 58ef63cc6a
9 changed files with 79 additions and 14 deletions

View File

@@ -1,4 +1,3 @@
<!-- <div id="contact-info"> -->
<div id="contact-info">
<div id="phone-number">
<img src="{{ "img/smartphone.svg" | relURL }}"

View File

@@ -0,0 +1,5 @@
<div id="print-icon">
<a href="{{ "resume.pdf" | relURL }}" target="_blank">
<img src="{{ "img/printer.svg" | relURL }}" alt="printer-icon">
</a>
</div>

View File

@@ -1,5 +1,7 @@
{{ partial "base/header.html" . }}
{{ partial "resume/print-icon.html" . }}
{{ partial "base/site-title.html" . }}
{{ partial "resume/contact-info.html" . }}

View File

@@ -8,7 +8,7 @@
<h2 class="project-title">{{ .Get "name" }} ⏷</h2>
</button>
<div class="date">{{ .Get "date" }}</div>
<div class="collapse" id="{{ .Get "name" | lower | urlize }}-details">
<div class="collapse{{ with .Get "show" }} show{{ end }}" id="{{ .Get "name" | lower | urlize }}-details">
<div>
{{ .Inner }}
</div>