From e969976249a62b705a7b2471fc888f7c057c2fea Mon Sep 17 00:00:00 2001
From: Jeremy Kidwell
Date: Tue, 27 Jun 2017 16:46:06 +0100
Subject: [PATCH] lots of fixes and customisations
---
Makefile | 26 +-
README.md | 5 +-
config.yaml | 7 +-
content/resources/_index.md | 68 +----
content/resources/emacs-starter-kit/_index.md | 108 --------
content/resources/github/_index.md | 5 +-
content/teaching/religion_public_sphere.md | 4 +-
content/teaching/theological_ethics.md | 2 +-
layouts/index.html | 228 +++++++++--------
layouts/partials/foot.html | 2 +-
layouts/partials/whatisthis.html | 2 +-
layouts/section/publications.html | 173 +++++++------
layouts/section/teaching.html | 2 +-
public/403/index.html | 6 +-
public/404.html | 4 +-
public/404/index.html | 6 +-
public/blog/archives.html | 16 +-
public/categories/index.html | 12 +-
public/categories/index.xml | 27 ++
public/index.html | 239 +++++++++++-------
public/index.xml | 153 +++++++++--
public/resources/emacs-starter-kit.html | 1 -
public/resources/emacs-starter-kit/index.html | 238 -----------------
public/resources/emacs-starter-kit/index.xml | 12 -
public/resources/github/index.html | 25 +-
public/resources/index.html | 73 +-----
public/sitemap.xml | 115 ++++++++-
public/teaching/index.html | 8 +-
public/teaching/index.xml | 4 +-
.../religion_public_sphere/index.html | 6 +-
public/teaching/theological_ethics/index.html | 6 +-
31 files changed, 751 insertions(+), 832 deletions(-)
delete mode 100755 content/resources/emacs-starter-kit/_index.md
delete mode 100644 public/resources/emacs-starter-kit.html
delete mode 100644 public/resources/emacs-starter-kit/index.html
delete mode 100644 public/resources/emacs-starter-kit/index.xml
diff --git a/Makefile b/Makefile
index 9faa3aa..ba0b19e 100755
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,14 @@
### minify the CSS, should you keep that step.
-SSH_USER = khealy@kieranhealy.org
-STAGING_USER = kjhealy@kjhealy.co
-DOCUMENT_ROOT = ~/kieranhealy.org
-STAGING_ROOT = ~/public/kjhealy.co/public_html
+SSH_USER = jeremyki@jeremykidwell.info
+STAGING_USER =
+DOCUMENT_ROOT = /home/jeremyki/public_html
+STAGING_ROOT = ~/public/gits/jeremykidwell.info
PUBLIC_DIR = public/
+HUGO_EXECUTABLE = /usr/local/bin/hugo
+
+
all: deploy
@@ -25,18 +28,21 @@ staging: site
rsync -crzve 'ssh -p 22' $(PUBLIC_DIR) $(STAGING_USER):$(STAGING_ROOT)
server: css
- hugo server -ws .
+ /usr/local/bin/hugo server -ws .
+
+rsync:
+ rsync -crzve 'ssh -p 22' $(PUBLIC_DIR) $(SSH_USER):$(DOCUMENT_ROOT)
deploy: compress site
rsync -crzve 'ssh -p 22' $(PUBLIC_DIR) $(SSH_USER):$(DOCUMENT_ROOT)
compress: css
- java -jar ~/bin/yuicompressor-2.4.8.jar static/css/stylesheet.css -o static/css/stylesheet-min.css --charset utf-8
+ yuicompressor static/css/stylesheet.css -o static/css/stylesheet-min.css --charset utf-8
site: css .FORCE
- hugo
- find public -type d -print0 | xargs -0 chmod 755
- find public -type f -print0 | xargs -0 chmod 644
+ $(HUGO_EXECUTABLE)
+ find $(PUBLIC_DIR) -type d -print0 | xargs -0 chmod 755
+ find $(PUBLIC_DIR) -type f -print0 | xargs -0 chmod 644
css:
touch static/css/stylesheet.css
@@ -46,4 +52,4 @@ css:
clean:
rm -rf public/
-.FORCE:
+.FORCE:
\ No newline at end of file
diff --git a/README.md b/README.md
index 9c3bc61..e36fadf 100755
--- a/README.md
+++ b/README.md
@@ -1,4 +1,7 @@
# jeremykidwell.info
-This is the code for my website at http://jeremykidwell.info. This is basically a faux fork of Kieran Healy's marvellously crafted page at http://kieranhealy.org. As detailed [in this post](http://kieranhealy.org/blog/archives/2014/02/24/powered-by-hugo/) the site is created using [Hugo](http://gohugo.io/), a very fast static site generator written by Steve Francia. The present version uses the [Kube CSS framework](http://imperavi.com/kube/), takes advantage of a site design by [Greg Restall](http://consequently.org), and requires Hugo version 0.15 or higher.
+This is the code for my website at http://jeremykidwell.info. I've borrowed structure and template from [Kieran Healy](http://kieranhealy.org/blog/archives/2014/02/24/powered-by-hugo/) and [Steve Francia](https://github.com/consequently/consequently-hugo). Both of these sites (and mine) use the [Kube CSS framework](http://imperavi.com/kube/) and requires Hugo version 0.15 or higher.
+Unlike wordpress, drupal, etc., this website is crafted using a [static site generator](https://www.smashingmagazine.com/2015/11/modern-static-website-generators-next-big-thing/) which has a range of benefits, not least of which being far less susceptible to hacking. I'm using [Hugo](http://gohugo.io/), which is known to have a speed advantage over some of the [other popular options](https://www.staticgen.com) and is written by Steve Francia.
+
+Anyone can use this site as a template to make their own, just clone (or fork) this one, clean out the files in content/blog, content/news, content/presentations, content/publications, content/resources, and content/teaching and then alter specific mentions of my name or site URL in files located in layouts/*. You should also adjust some of the specifics in config.yaml. Then [install hugo](http://gohugo.io/overview/quickstart/) and it's up to you from there.
\ No newline at end of file
diff --git a/config.yaml b/config.yaml
index 1bec93a..f278020 100755
--- a/config.yaml
+++ b/config.yaml
@@ -18,12 +18,15 @@ menu:
- Name: "Resources"
URL: "/resources"
Weight: 3
+ - Name: "Presentations"
+ URL: "/presentations"
+ Weight: 4
- Name: "Teaching"
URL: "/teaching"
- Weight: 4
+ Weight: 5
- Name: "Blog"
URL: "/blog"
- Weight: 5
+ Weight: 6
permalinks:
blog: /blog/archives/:year/:month/:day/:slug
archive: /blog/archives/
diff --git a/content/resources/_index.md b/content/resources/_index.md
index 1dee7ed..1911cec 100755
--- a/content/resources/_index.md
+++ b/content/resources/_index.md
@@ -3,68 +3,8 @@ type: page
title: "Resources"
---
-## Code and Data
-
This page has links to configuration files, templates, and a few other things that might be of use to people who want to write well-formatted social science papers in plain text, with data, figures, and
-references.
+## Datasets, Code, etc.
+
On this page I have links provided to data-sets that I've generated as part of my research as well as code and anything else that doesn't quite fit under "publications".
As a beginning graduate student in the social sciences, what sort of software should you use to do your work? More importantly, what principles should guide your choices? This article offers some answers. The short
-version is: you should use tools that give you more control over the process of data analysis and writing. I recommend you write prose and code using a good text editor; analyze quantitative data with R or Stata; minimize
-error by storing your work in a simple format (plain text is best), and make a habit of documenting what you've done. For data analysis, consider using a format like Rmarkdown and tools like Knitr to make your work more
-easily reproducible for your future self. Use Pandoc to turn your plain-text documents into PDF, HTML, or Word files to share with others. Keep your projects in a version control system. Back everything up regularly. Make
-your computer work for you by automating as many of these steps as you can. To help you get started, I briefly discuss a drop-in set of useful defaults to get started with Emacs (a powerful, free text-editor). I share
-some templates and style files that can get you quickly from plain text to various output formats. And I point to several alternatives, because no humane person should recommend Emacs without presenting some other options
-as well. There is a sample github repository that contains the .md source file the PDF is created from. This material is also available as a website at http://plain-text.co.
This is a fork of Eric Schulte's Emacs Starter Kit (itself an offshoot of Phil Hagelberg's
-original) with additional tools included for social scientists, mostly related to writing books or papers in LaTeX and analyzing quantitative data using ESS and R. The goal is to provide a drop-in configuration for Emacs that makes it easier to use right from the get-go. If you know about Git, you can clone the repository.
Notes, links, and code from a Data Visualization short-course I taught in the Fall of 2015. The course is focused on the practical presentation of real data, mostly using R's `ggplot2` library. We also read some
-material on principles of data visualization, in order to help develop a good working sense of why some graphs and figures work well while others either fail to inform or actively mislead.
-
A collection of LaTeX style files, templates, and org-mode documents providing some nice layouts for typesetting articles using pdfLaTeX or XeLaTeX. They make a pipeline that lets you begin with an
-.org file in Emacs (as set up in the Starter Kit), and go from there to a nice, fully-processed PDF in one step. Or the pieces can be used separately
-to set up a .tex file with a nice Article layout.
Some Pandoc templates meant to go in ~/.pandoc/templates. Point to them directly with the --template or --css switches as appropriate, and use them with what's provided in latex-custom-kjh. Includes a shell script for setting pandoc up to work with the Marked app, a handy HTML live
-previewer for .md files.
-
Every few months I get an email asking to see the LaTeX markup that I use to generate my Curriculum Vitae. So, here it is. Feel free to adapt it yourself. If you make stylistic modifications, I encourage you to fork the project on GitHub and make them available to others in the same way.
This site is produced using Hugo, a very fast static site generator, which you can read more about here. I've written about my own experience setting it up, too. The design is borrowed mostly from Greg Restall. If you want to look
-under the bonnet, the entire site is on GitHub. Feel free to adapt it yourself. If you make stylistic modifications, I encourage you
-to fork the project on GitHub and make them available to others in the same way. You should also change the Google Analytics information in the footer partial, or I will receive analytics information about your site.
Here is a full list of the various public code and data repositories that I have put on GitHub. They range from the configuration and templating tools listed above to data
-visualization exercises and other bits of data analysis, mostly written in R.
-
Here is a full list of the various public code and data repositories that I have put on GitHub.
\ No newline at end of file
diff --git a/content/resources/emacs-starter-kit/_index.md b/content/resources/emacs-starter-kit/_index.md
deleted file mode 100755
index b24a38c..0000000
--- a/content/resources/emacs-starter-kit/_index.md
+++ /dev/null
@@ -1,108 +0,0 @@
----
-type: page
-title: "An Emacs Starter Kit for the Social Sciences"
-aliases:
- - /resources/emacs-starter-kit.html
----
-
-
-
-
-What's the motivation for the starter kit? Emacs is a very powerful editor but it is less useful out-of-the-box than it might be, in part because many convenient settings and modes are not activated by default. The starter kit is a drop-in set of nice default settings. The idea is for you to be able to download GNU Emacs, put the starter kit into ~/.emacs.d/, and get to work. If you already use Emacs and have a .emacs file or ~/.emacs.d directory, the starter kit is designed to replace them, while leaving a place for you to easily append your own customizations.
-
-
-The starter kit is designed to be used with GNU Emacs. Version 24.4 (released October 2014) or later is required. It will not work with Aquamacs without modification. More detailed commentary and documentation is provided inside the kit's .org files.
-
-
-Installation Instructions (Mac OS X)
-
-
-
Before you Begin
-
If you want to use the tools that the starter-kit works with—LaTeX, R, Git, Pandoc, and all the rest—then you will need to install them on your Mac. The ground floor is Apple's own suite of Developer Tools, which allow you to compile software yourself and include things like Git. The most straightforward way to get these tools is to install Xcode. Xcode is what software developers use to write Mac and iOS applications. As such it comes with a bunch of things we are not so interested in, but it makes it easy to install what we do need. It's available for free via the Mac App Store. Once downloaded, launch Xcode, go to Xcode > Preferences > Downloads and install the Command Line Tools for Xcode. At that point you can quit Xcode and never use it again. Alternatively, go to Apple's Developer Site, login with your Apple ID and download the Command Line Tools for Xcode package by itself, without the Xcode application.
-
-
If you have used Emacs before and already have a .emacs file or .emacs.d directory, back them up and then delete them. See below for details on how to add customizations to the kit.
-
-
Getting the Starter Kit
-
You have two choices. You can download a .zip file of the kit. This will give you a static snapshot of the most recent version. But if you want to keep up with changes to the kit, you should clone the source code using git rather than simply copying a static version of it. You should be using version control on your plain-text documents anyway, so I recommend this second option.
-
-
-Prerequisites
-
-
-
-0.1 Get Emacs. The starter kit requires Emacs 24.4 (released October 2014). Download Emacs here. Alternatively, if you are comfortable with Homebrew, compile and install it.
-
-
-0.2 Install a Modern TeX Distribution and the Skim PDF reader. If you are using OS X, download MacTeX here and install it. The kit is set up to use the Skim PDF reader to display PDF files created from .tex files. You can use other readers, but will need to modify the setup in the starter-kit-latex.org file.
-
-
-0.3 Install R and Pandoc. These are not strictly required for the installation to work, and you can skip this step if you like. But you will probably be using them anyway, if you're not already. If you're doing statistical work you will probably want to use R or Stata. R is free and you can download it here. Pandoc is a very useful utility that lets you convert easily between many different forms of plain-text markup (such as Markdown, HTML, LaTeX, and others). Get Pandoc here.
-
-
-0.4 Note your user name or the name of your computer. If you don't know either, open the Terminal application and do
-
-
-$ whoami
-
-
-for your user name and
-
-
-$ hostname
-
-
-for the system name. You will need to know your login name to activate the final customization file properly. You can use the system name as well (or instead).
-
-
-Setup
-
-
-1. If you downloaded a .zip file of the kit, you must uncompress it, move the resulting folder to the top level of your home director and rename it .emacs.d. Assuming the downloaded zip file is in your ~/Downloads folder, open a Terminal window and do this:
-2. Inside the file kjhealy.org, change the paths to any BibTeX databases as described at the top of that file.
-
-
-3. Rename the starter kit's kjhealy.org file to that of %your-username%.org or %your-systemname%.org, based on the information you noted in 0.4 above. This is where you can add in any of your own further customizations to Emacs.
-
-
-4. Launch Emacs.
-
-
-When you first start Emacs after installing the starter-kit, it will try to contact several package repositories, so make sure you have an internet connection. The kit will download packages mainly from the official GNU ELPA repository and the MELPA Repo. Each package will be fetched, compiled by Emacs, and stored in the ~/.emacs.d directory. This process is sometimes prone to hiccups as packages are fetched from the servers, so please be patient with it. If it doesn't get everything first time around, quit and relaunch Emacs, and it will try again. If the problem persists—especially if you get a message saying "The package 'auctex' is not available for installation"—you can manually install packages as follows. Open Emacs, do M-x list-packages and in the resulting buffer search or scroll down the list to, e.g. Auctex, mark it for installation by pressing i and then install it (or them) by hitting x. With the packages in place, restart Emacs and the starter kit will finish setting itself up. Unfortunately, I can't control these intermittent installation errors. They seem to have something to do with the way Emacs talks to the GNU ELPA package server.
-
-
-
-
-
-5. (Optional.) Once Emacs is up and running, do M-x starter-kit-compile to byte-compile the starter-kit's files, for slightly faster loading.
-
Much of my research has been about exchange in human blood and organs, cultural goods, software, and ideas. My current work focuses on the moral order of market society, the effect of models and measurement on social classification, and the link between those two topics, especially in the consumer credit market. I'm also interested in techniques and methods for data visualization.
+
+
I completed my PhD in theological ethics in 2013 and this research focussed particularly on the way that ancient narratives about craft-work might illuminate present quandaries in business, engineering, and design surrounding excellence, creativity, property, and more. Since then, my research has taken on a decidedly more contemporary context and more explicitly environmental concerns, exploring through ethnographic research what forms of political mobilisation are being generated by Scottish churches and (by comparison) other environmental community groups in response to climate change. Publications and PDFs are below for your perusal. You can also find and follow my recent publications at Researchgate, Amazon.com, ORCID, or ResearcherID, and if you must Academia.edu.
{{ .Params.citation | safeHTML }}
+ Abstract
+ {{ if isset .Params "file" }}
+ pdf
+ {{ end }}
+
+ {{ end }}
+
+
+
+{{ end }}
+
+
diff --git a/layouts/section/teaching.html b/layouts/section/teaching.html
index 621e589..541b032 100755
--- a/layouts/section/teaching.html
+++ b/layouts/section/teaching.html
@@ -35,7 +35,7 @@
{{ end }}
-
Some of the classes I have offered in recent years, including pointers to upcoming courses and other resources, when they are available. Classes are listed once but are typically taught more frequently than that.
+
This list include courses that I've taught recently along with my teaching for the upcoming year. You'll find syllabi and resources if they're avialbale.