mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 03:15:30 -04:00
moved blog to hugo! lots of stuff still to do 😬
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
<p>You can find some of my work on <a href="https://github.com/jakejarvis" title="Jake Jarvis on GitHub" id="github" target="_blank" rel="me noopener noreferrer">GitHub</a> or <a href="https://www.linkedin.com/in/jakejarvis/" title="Jake Jarvis on LinkedIn" id="linkedin" target="_blank" rel="me noopener noreferrer">LinkedIn</a>, my adventures on <a href="https://twitter.com/jakejarvis" title="Jake Jarvis on Twitter" class="twitter" target="_blank" rel="me noopener noreferrer">Twitter</a>, <a href="https://www.facebook.com/jakejarvis" title="Jake Jarvis on Facebook" id="facebook" target="_blank" rel="me noopener noreferrer">Facebook</a>, <a href="https://www.instagram.com/jakejarvis/" title="Jake Jarvis on Instagram" id="instagram" target="_blank" rel="me noopener noreferrer">Instagram</a>, or <a href="https://mastodon.social/@jakejarvis" title="Jake Jarvis on Mastodon" id="mastodon" target="_blank" rel="me noopener noreferrer">Mastodon</a>, and my standard <a href="{{ "resume.pdf" | absURL }}" title="View PDF Resume" id="resume" target="_blank" rel="noopener">PDF resume here</a>.</p>
|
||||
<p>If any of this fits with what you're looking for, I'd love to hear from you via <a itemprop="email" href="mailto:jake@jarv.is" title="Send Email" id="email">email</a> <sup><a href="https://keybase.io/jakejarvis/pgp_keys.asc?fingerprint=87fb4b6006dd1beb3ed47fabd36cb66f4002b25b" title="Jake Jarvis's Public Key on Keybase" id="pgp" target="_blank" rel="noopener noreferrer nofollow">D36C B66F 4002 B25B</a></sup>, <a href="https://twitter.com/messages/compose?recipient_id=229769022" title="Send Direct Message on Twitter" class="twitter" target="_blank" rel="noopener noreferrer nofollow">DM</a>, or <a href="sms:+1-908-444-6655" title="Send SMS: +1 (908) 444-6655" id="sms">text</a>!</p>
|
||||
<div id="footer">
|
||||
<div id="blog"><a href="https://jake.wordpress.com/" title="Jake Jarvis's Blog on WordPress" id="wordpress" target="_blank" rel="me noopener">Read more at my blog...</a></div>
|
||||
<div id="blog"><a href="{{ "notes/" | absURL }}" title="Jake Jarvis's Blog" rel="me">Read more at my blog...</a></div>
|
||||
<div id="panda"><a href="https://nationalzoo.si.edu/webcams/panda-cam#maincontent" title="Live Panda Party!" target="_blank" rel="noopener noreferrer nofollow"><span>🐼</span></a></div>
|
||||
<div id="info"><span id="copyright"><a href="https://web.archive.org/web/20010501000000*/jakejarvis.com" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">© 2001 –</a> {{ now.Format "2006" }} <a itemprop="url" rel="me author" href="https://jarv.is/" title="Jake Jarvis">Jake Jarvis</a>.</span> <a href="https://git.jarv.is/jake/jarv.is" title="View Source Code Repository" id="source" target="_blank" rel="noopener">View source.</a></div>
|
||||
<div id="info"><span id="copyright"><a href="https://web.archive.org/web/20010501000000*/jakejarvis.com" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">© 2001 –</a> {{ now.Format "2006" }} <a itemprop="url" rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis">Jake Jarvis</a>.</span> <a href="https://git.jarv.is/jake/jarv.is" title="View Source Code Repository" id="source" target="_blank" rel="noopener">View source.</a></div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
@@ -1,3 +0,0 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}asdf
|
||||
{{ end }}
|
@@ -1,4 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>{{ .Content }}</p>
|
||||
{{ end }}
|
@@ -1,4 +1,5 @@
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "blog-header.html" . }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
bananan
|
||||
{{ partial "blog-footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
17
layouts/notes/list.html
Normal file
17
layouts/notes/list.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="year">
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li class="item">
|
||||
<div class="date">{{ .Date.Format "Jan 2" }}</div>
|
||||
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
27
layouts/notes/single.html
Normal file
27
layouts/notes/single.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{{ define "main" }}
|
||||
<div id="single">
|
||||
<div id="info">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<h2 class="headline">
|
||||
{{ .Date.Format "January 2, 2006" }} · {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} · {{ .ReadingTime }} minute read
|
||||
<span class="tags">
|
||||
{{ with .Params.tags }}
|
||||
{{ if ge (len .) 1 }}
|
||||
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span>{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</h2>
|
||||
</div>
|
||||
{{ if .Site.Params.enableToc }}
|
||||
{{ if .TableOfContents }}
|
||||
<div id="toc">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
5
layouts/partials/blog-footer.html
Normal file
5
layouts/partials/blog-footer.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div id="footer">
|
||||
<div id="copyright"><a href="https://web.archive.org/web/20010501000000*/jakejarvis.com" title="View Old Versions on Wayback Machine" id="wayback" target="_blank" rel="noopener noreferrer nofollow">© 2001 –</a> {{ now.Format "2006" }} <a rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis">Jake Jarvis</a>.</div>
|
||||
<div id="panda"><a href="https://nationalzoo.si.edu/webcams/panda-cam#maincontent" title="Live Panda Party!" target="_blank" rel="noopener noreferrer nofollow"><span>🐼</span></a></div>
|
||||
<div id="poweredby"><a href="https://github.com/gohugoio/hugo" title="Hugo on GitHub" id="hugo" target="_blank" rel="noopener noreferrer nofollow">Powered by Hugo.</a> <a href="https://git.jarv.is/jake/jarv.is" title="View Source Code Repository" id="source" target="_blank" rel="noopener">View source.</a></div>
|
||||
</div>
|
4
layouts/partials/blog-header.html
Normal file
4
layouts/partials/blog-header.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<div id="header">
|
||||
<a href="{{ .Site.BaseURL }}" id="home" title="Return to Homepage">« Return Home</a>
|
||||
<a href="{{ "notes/" | absURL }}" id="logo" title="Jake Jarvis's Blog"><img src="{{ "logo.png" | absURL }}" alt="Jake Jarvis's Blog" title="Jake Jarvis's Blog"></a>
|
||||
</div>
|
@@ -3,7 +3,8 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Title }}{{ if .IsHome }} 👨‍💻{{ end }}</title>
|
||||
{{ .Hugo.Generator }}
|
||||
<title>{{ .Title }}{{ if .IsHome }} 👨‍💻{{ else }} | Jake Jarvis {{ end }}</title>
|
||||
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -32,8 +33,6 @@
|
||||
<link rel="icon" type="image/png" href="{{ "favicon-32.png" | absURL }}" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{ "favicon-16.png" | absURL }}" sizes="16x16">
|
||||
<link rel="shortcut icon" href="{{ "favicon.ico" | absURL }}">
|
||||
<link rel="preload" href="{{ "fonts/open-sans-light.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ "fonts/open-sans-regular.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="dns-prefetch" href="https://stats.jarv.is">
|
||||
<link rel="stylesheet" href="{{ "style.css" | absURL }}">
|
||||
<link rel="author" href="https://plus.google.com/+jakejarvis/posts">
|
||||
|
Reference in New Issue
Block a user