first commit

This commit is contained in:
Jeremy Kidwell 2017-06-26 20:57:02 +01:00
commit 13e2fd6e74
125 changed files with 19943 additions and 0 deletions

1
layouts/partials/allcats.html Executable file
View file

@ -0,0 +1 @@
<a href="/blog/archives/">All Posts by Date</a> &middot; <a href="/categories/">All Posts by Category</a>

9
layouts/partials/archive.html Executable file
View file

@ -0,0 +1,9 @@
<ul class="post" id="list">
{{ range .Site.Pages }}
<h3 id="archive" class="shortend shorttop"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p>{{ .Date.Format "Jan 2, 2006" }}</p>
{{ end }}
</ul>

View file

@ -0,0 +1 @@
{{ if ge .Date.Unix now.Unix }}{{ if (le .Date.Unix (add now.Unix 7776000)) }}<span class="badge badge-small badge-yellow">coming soon</span>{{ end }}{{ end }}

2
layouts/partials/details.html Executable file
View file

@ -0,0 +1,2 @@

4
layouts/partials/foot.html Executable file
View file

@ -0,0 +1,4 @@
<footer id="footer">
<section class="wrapper small">Powered by <a href="http://gohugo.io">Hugo</a> and <a href="http://imperavi.com/kube/">Kube</a>. &copy; Jeremy Kidwell 2017&ndash;{{ now.Format "2006" }}.
</section>
</footer>

View file

@ -0,0 +1,6 @@
<footer>
</footer>
</body>
</html>

5
layouts/partials/footer.html Executable file
View file

@ -0,0 +1,5 @@
<!-- Google Analytics -->
</body>
</html>

18
layouts/partials/head.html Executable file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ .Title }}</title>
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/kube.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/demo.css" />
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" href="{{ .Site.BaseURL }}/apple-touch-icon.png">
<link rel="shortcut icon" href="{{ .Site.BaseURL }}/favicon.ico" />
<!-- RSS -->
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
</script>
</head>

View file

@ -0,0 +1,5 @@
<link rel="stylesheet" href="/css/stylesheet-min.css" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
{{ partial "javascripts.html" . }}
{{ partial "typekit.html" . }}

16
layouts/partials/header.html Executable file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
{{ partial "meta.html" . }}
<base href="{{ .Site.BaseURL }}">
<title> {{ .Title }} </title>
<link rel="canonical" href="{{ .Permalink }}">
{{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }}
{{ partial "head_includes.html" . }}
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>

View file

@ -0,0 +1,28 @@
<!-- Javascript enhancements are included on a per-post basis using
flags set in the markdown file -->
<!--htmlwidgets and sankey framework. flag: footnotes-->
{{ if and (isset .Params "footnotes") (eq .Params.footnotes true) }}
<script src="//code.jquery.com/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="javascripts/bigfoot.js"></script>
<script type="text/javascript">$.bigfoot();</script>
{{ end }}
<!--htmlwidgets and sankey framework. flag:htmlwidgets -->
{{ if and (isset .Params "htmlwidgets") (eq .Params.htmlwidgets true) }}
<script src="javascripts/htmlwidgets-0.5/htmlwidgets.js"></script>
<script src="javascripts/d3-3.5.2/d3.min.js"></script>
<script src="javascripts/sankey-1/sankey.js"></script>
<script src="javascripts/sankeyNetwork-binding-0.2.8/sankeyNetwork.js"></script>
{{ end }}
<!--mathjax. flag:mathjax-->
{{ if and (isset .Params "mathjax") (eq .Params.mathjax true) }}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{{ end }}

18
layouts/partials/menu.html Executable file
View file

@ -0,0 +1,18 @@
<section id="menu">
<ul>
{{ range $indexname, $index := .Site.Indexes }}
<li><a href="/{{ $indexname | urlize }}">{{ $indexname }}</a>
<ul>
{{ range $key, $value := $index }}
<li> {{ $key }} </li>
<ul>
{{ range $value.Pages }}
<li hugo-nav="{{ .RelPermalink}}"><a href="{{ .Permalink}}"> {{ .LinkTitle }} </a> </li>
{{ end }}
</ul>
{{ end }}
</ul>
</li>
{{ end }}
</ul>
</section>

22
layouts/partials/meta.html Executable file
View file

@ -0,0 +1,22 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,partials=1">
<meta name="description" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1 minimal-ui">
<meta name="description" content="{{ .Description }}">
<meta name="keywords" content="{{ range .Keywords }}{{ . }}, {{ end }}">
{{ range .Keywords }}<meta property="article:tag" content="{{ . }}">
{{ end }}
<!--Twitter Cards-->
<meta name="twitter:card" content="summary">
<!--<meta name="twitter:card" content="summary_large_image">-->
<meta name="twitter:site" content="@kidwellj">
<meta name="twitter:title" content="{{ .Title }} : jeremykidwell.info">
<meta name="twitter:creator" content="@kidwellj">
<meta name="twitter:description" content="{{ .Description }}">
<meta name="twitter:image:src" content="">
<meta name="twitter:domain" content="jeremykidwell.info">

View file

@ -0,0 +1,13 @@
{{ $baseurl := .Site.BaseURL }}
<ul class="pagination">
{{if .PrevInSection}}
<li><a href="{{.PrevInSection.Permalink}}">&laquo; <em>Previous</em> {{.PrevInSection.Title}}</a></li> {{end}}
{{if .NextInSection}}
<li><a href="{{.NextInSection.Permalink}}">&raquo; <em>Next</em> {{.NextInSection.Title}}</a></li>{{end}}
</ul>
<meta itemprop="wordCount" content="{{ .WordCount }}">
<meta itemprop="datePublished" content="{{ .Date.Format "2006-01-02" }}">
<meta itemprop="url" content="{{ .Permalink }}">

1
layouts/partials/nowon.html Executable file
View file

@ -0,0 +1 @@
{{ if (le .Date.Unix now.Unix) }}{{ if (le now.Unix (add .Date.Unix .Params.duration)) }}<span class="badge badge-small badge-green">now on</span>{{ end }}{{ end }}

26
layouts/partials/paging.html Executable file
View file

@ -0,0 +1,26 @@
<div class="wrapper">
<div class="units-row">
<div class="unit-centered unit-40">
<ul class="pagination">
{{ if .Paginator.HasNext }}
<li><a href="{{.Paginator.Next.URL}}">
« Older&nbsp;
</a>
</li>
{{ end }}
<li><span>Page {{.Paginator.PageNumber}} of {{.Paginator.TotalPages}}</span></li>
{{ if .Paginator.HasPrev }}
<li>
<a href="{{.Paginator.Prev.URL}}">
&nbsp;Newer »
</a>
</li>
{{ end }}
</ul>
{{ partial "allcats.html" . }}
</div>
</div>
</div>

9
layouts/partials/sidebar.html Executable file
View file

@ -0,0 +1,9 @@
<nav class="navbar">
<ul>
<li><a href="/">Jeremy Kidwell</a></li>
{{ $currentNode := . }}
{{ range .Site.Menus.main }}
<li><span> <a class="{{if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} active{{end}}" href="{{.URL}}">{{ .Name }} </a></span>
{{ end }}
</ul>
</nav>

20
layouts/partials/social.html Executable file
View file

@ -0,0 +1,20 @@
<div id="fb-root"></div>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
<div class="social">
<span class="twitter">
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en"></a>
</span>
</div>

View file

3
layouts/partials/typekit.html Executable file
View file

@ -0,0 +1,3 @@
<!--Typekit ID-->
<script type="text/javascript" src="https://use.typekit.com/kpn7wwu.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

View file

@ -0,0 +1,39 @@
<div class="wrapper" style="font-size: 0.9em; line-height: 1.05em;">
<div class="units-row units-padding">
<div class="unit-40"><!--about-->
<h3>about</h3>
<figure class="image-left">
<img class="avatar" src="files/misc/jkpic.jpg" height="120" width="120">
</figure>
<p>I am Lecturer in <a href="http://www.birmingham.ac.uk/schools/ptr/index.aspx">Theological Ethics</a> at <a href="http://www.birmingham.ac.uk">the University of Birmingham</a>.</p>
</div><!--end about-->
<div class="unit-30"><!--contact-->
<h3>Where</h3>
<ul class="compact fa-ul">
<li><i class="fa-li fa fa-university fa-fw" style="color:#03396c;font-size:80%;padding-top:6px;"></i>Department of Theology and Religous Studies, University of Birmingham, Edgbaston, Birmingham, B15 2TT, UK.</li>
<li><i class="fa-li fa fa-envelope fa-fw" style="color:#03396c;font-size:80%;padding-top:6px;"></i><a href="mailto:j.kidwell@bham.ac.uk">j.kidwell@bham.ac.uk</a></li>
<li><i class="fa-li fa fa-twitter-square fa-fw" style="color:#03396c;font-size:80%;padding-top:6px;"></i><a href="http://twitter.com/kidwellj">@kidwellj</a> on Twitter.</li>
<li><i class="fa-li fa fa-github fa-fw" style="color:#03396c;font-size:80%;padding-top:6px;"></i><a href="http://github.com/kidwellj">On GitHub</a>.</li>
<li><i class=""></li>
</ul>
</div><!--end contact-->
<div class="unit-30"><!--Subscribe-->
<h3>subscribe</h3>
<p>To receive updates from this site, you can
subscribe to the <a href="/index.xml"><i class="fa fa-rss-square" style="color:#03396c;"></i>&nbsp;RSS feed</a> of all updates to the site in an RSS feed reader</p>
<h3>search</h3>
<a id="searchsite">
<form method="get" action="https://duckduckgo.com/">
<input type="search" name="q" maxlength="255" placeholder="Search the site">
<input type="hidden" name="sites" value="jeremykidwell.info"/>
<input type="hidden" name="k7" value="#faf8f8"/>
<input type="hidden" name="kj" value="#b33"/>
<input type="hidden" name="ky" value="#fafafa"/>
<input type="hidden" name="kx" value="b"/>
<input type="hidden" name="ko" value="-1"/>
<input type="hidden" name="k1" value="-1"/>
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" /></form></a>
</div>
</div>
</div>
</div>