Compare commits

..

1 Commits

Author SHA1 Message Date
2305b246c1 Sample cover letter, letter submodule
Custom sitemap layout to hide letters.
2019-10-07 22:48:32 -04:00
8 changed files with 16 additions and 7 deletions

5
.gitmodules vendored
View File

@@ -1,4 +1,7 @@
[submodule "content/letter"]
path = content/letter
url = ssh://git@git.kevin-mok.com:399/Kevin-Mok/cover-letters.git
branch = drafts
branch = master
[submodule "static/pdf"]
path = static/pdf
url = ssh://git@git.kevin-mok.com:399/Kevin-Mok/resume-pdf.git

View File

@@ -474,8 +474,8 @@ header {// {{{
float: right;
img {
height: 1.75em;
position: relative;
height: 2em !important;
position: absolute;
top: 1em;
}
}// }}}

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
<div id="print-icon">
{{ $code := .Get "code" }}
{{ $pdfName := print "pdf/kevin-mok-cover-letter-" $code ".pdf" }}
<a href="{{ $pdfName | relURL }}" target="_blank">
<img src="{{ "img/resume/printer.svg" | relURL }}" alt="printer-icon">
</a>
</div>

Binary file not shown.

1
static/pdf Submodule

Submodule static/pdf added at 83a1f5a203