Commit a985eeaf authored by Colin Shea's avatar Colin Shea

resume: pdf icon & piwik tracking

parent 2bb90353
......@@ -53,6 +53,7 @@ h2.location { max-width: 435px; }
a#pdf { display: block; background: #666; color: white; padding: 6px 50px 6px 12px; margin-bottom: 0.5em; text-decoration: none; }
a#pdf:hover { background: #222; }
a#pdf .fa-file-pdf-o { margin-right: 1em; }
.job { position: relative; margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #ccc; }
.job h4 { position: absolute; top: 0.35em; right: 0 }
......
......@@ -34,7 +34,7 @@
<div class="yui-u">
<div class="contact-info">
<h3><a id="pdf" href="resume.pdf"><%= data.resume.headers.download %></a></h3>
<h3><a id="pdf" href="resume.pdf"><i class="fa fa-fw fa-file-pdf-o"></i><%= data.resume.headers.download %></a></h3>
<h3 class="url"><a class="email donotexpand" href="mailto:<%= data.resume.info.email %>"><%= data.resume.info.email %></a></h3>
<% if data.resume.info.homepage? %>
<h3 class="url"><a class="donotexpand" href=<%= data.resume.info.homepage %> target=_blank><%= data.resume.info.homepage %></a></h3>
......@@ -279,5 +279,27 @@
</div><!--// doc -->
<!-- Piwik -->
<% if development? %>
<!-- Wha, track all of my debuggery? That's madness! -->
<% elsif build? %>
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//<%= data.site.piwik.host %>/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '<%= data.site.piwik.id %>']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//<%= data.site.piwik.host %>/piwik.php?idsite=<%= data.site.piwik.id %>" style="border:0;" alt="" /></p></noscript>
<% end %>
<!-- End Piwik Code -->
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment