<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
<title>Tyler Cipriani: pages tagged jekyll</title>
<link href="https://tylercipriani.com/tags/jekyll/"/>
<link href="https://tylercipriani.com/tags/jekyll/index.atom" rel="self" type="application/atom+xml"/>
<author>

<name>Tyler Cipriani</name>

</author>




<id>https://tylercipriani.com/tags/jekyll/</id>

<subtitle type="html">Tyler Cipriani</subtitle>
<generator uri="http://ikiwiki.info/">ikiwiki</generator>
<updated>2017-07-01T00:49:09Z</updated>
<entry>
	<title> Replacing Jekyll with Pandoc and a Makefile</title>

	<id>https://tylercipriani.com/blog/2014/05/13/replace-jekyll-with-pandoc-makefile/</id>

	<link href="https://tylercipriani.com/blog/2014/05/13/replace-jekyll-with-pandoc-makefile/"/>

	<author><name>Tyler Cipriani</name></author>


	<rights type="html" xml:lang="en">

		&lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/&quot;&gt;Creative
Commons Attribution-ShareAlike License&lt;/a&gt;
		Copyright © 2017 Tyler Cipriani

	</rights>



	<category term="computing" />

	<category term="jekyll" />

	<category term="make" />

	<category term="shell" />


	<updated>2017-07-01T00:49:09Z</updated>
	<published>2014-05-13T00:00:00Z</published>


	<content type="html" xml:lang="en">
	&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;: 2016-08-19&lt;/p&gt;
&lt;p&gt;I got an email a very long time ago that I meant to post about on ye
old weblog from a fellow named &lt;a href=&quot;http://tomduck.ca/&quot;&gt;Tom Duck&lt;/a&gt;
who built a CMS based around some of the ideas presented here.&lt;/p&gt;
&lt;p&gt;It’s called &lt;a
href=&quot;https://github.com/tomduck/bassclef/#bassclef-cms&quot;&gt;Bassclef&lt;/a&gt;
and it looks pretty amazing and folks should check it out.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I used to use del.icio.us to keep track of links, then it went away.
After del.icio.us shutdown, I used a ton of uniquely awful services to
keep track of links. Eventually, I came around to the idea that all I
needed was a series of markdown files and github: &lt;a
href=&quot;https://github.com/thcipriani/links/tree/8d2442d4ba8a9090f645dd2cfe73216a7350dea5&quot;&gt;BOOM!&lt;/a&gt;
Public link repositiory—just like del.icio.us back in the day.&lt;/p&gt;
&lt;p&gt;After a while I started thinking, I could make these files a lot more
presentable if I did some jekyll-ifying and served them out on
github.&lt;/p&gt;
&lt;section id=&quot;previously-jekyllfied&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Previously Jekyllfied&lt;/h2&gt;
&lt;p&gt;My &lt;code&gt;linuxtips&lt;/code&gt; repo is just a dumb jekyll repo. Esentially
all &lt;code&gt;linuxtips&lt;/code&gt; is is just &lt;a
href=&quot;https://github.com/thcipriani/linuxtips/blob/master/README&quot;&gt;a big
&lt;code&gt;README&lt;/code&gt; file&lt;/a&gt;. So, for that repo, I created a
&lt;code&gt;gh-pages&lt;/code&gt; branch with a &lt;code&gt;_config.yml&lt;/code&gt; and a
&lt;code&gt;_layout&lt;/code&gt; directory and popped in a &lt;a
href=&quot;https://github.com/thcipriani/linuxtips/blob/gh-pages/Makefile&quot;&gt;Makefile&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb1&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb1-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb1-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;INDEX&lt;/span&gt; = &lt;span class=&quot;va&quot;&gt;${CURDIR}&lt;/span&gt;/index.md&lt;/span&gt;
&lt;span id=&quot;cb1-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb1-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb1-3&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;va&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;ex&quot;&gt;INDEX&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;ex&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb1-4&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;ex&quot;&gt;@&lt;/span&gt; git show origin/master:README.md &lt;span class=&quot;op&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;va&quot;&gt;$@&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb1-5&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;ex&quot;&gt;@&lt;/span&gt; perl &lt;span class=&quot;at&quot;&gt;-i&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-pe&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;#39;print &amp;quot;---\nlayout: default\ntitle: Linux Tips\n---\n\n&amp;quot; if $$. == 1;&amp;#39;&lt;/span&gt; &lt;span class=&quot;va&quot;&gt;$@&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;and then I got &lt;a
href=&quot;http://www.tylercipriani.com/linuxtips/&quot;&gt;tylercipriani.com/linuxtips&lt;/a&gt;;
neat.&lt;/p&gt;
&lt;p&gt;I ran into some problems with that approach along the way. Mostly
problems with git and the separate branches and the order in which I’d
commit and pull and whatever, it was/is a headache.&lt;/p&gt;
&lt;/section&gt;
&lt;section id=&quot;pandoc&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Pandoc&lt;/h2&gt;
&lt;p&gt;I started thinking about &lt;a
href=&quot;http://johnmacfarlane.net/pandoc/&quot;&gt;Pandoc&lt;/a&gt;. Pandoc is this
haskell library that makes miracles of text happen.&lt;/p&gt;
&lt;p&gt;Got an org-mode file and need TeX? Done.&lt;/p&gt;
&lt;p&gt;Got a markdown slideshow that needs to become a beamer slide show?
OK, sure.&lt;/p&gt;
&lt;p&gt;Fuck Beamer, how about markdown slides → Reveal.js slides? You bet
your sweet sensual bologna.&lt;/p&gt;
&lt;/section&gt;
&lt;section id=&quot;imma-install-pandoc&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Imma install Pandoc…&lt;/h2&gt;
&lt;section id=&quot;debian&quot; class=&quot;level3&quot;&gt;
&lt;h3&gt;Debian?&lt;/h3&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb2&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb2-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb2-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;fu&quot;&gt;sudo&lt;/span&gt; apt-get install haskell-platform&lt;/span&gt;
&lt;span id=&quot;cb2-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb2-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;cabal&lt;/span&gt; update&lt;/span&gt;
&lt;span id=&quot;cb2-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb2-3&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;cabal&lt;/span&gt; install pandoc&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;then add it to your path in your &lt;code&gt;.${SHELL}rc&lt;/code&gt; file:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb3&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb3-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb3-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;bu&quot;&gt;[&lt;/span&gt; &lt;span class=&quot;ot&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;$HOME&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/.cabal/bin&amp;quot;&lt;/span&gt; &lt;span class=&quot;bu&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;kw&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;bu&quot;&gt;export&lt;/span&gt; &lt;span class=&quot;va&quot;&gt;PATH&lt;/span&gt;&lt;span class=&quot;op&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;$HOME&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/.cabal/bin:&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;$PATH&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id=&quot;osx&quot; class=&quot;level3&quot;&gt;
&lt;h3&gt;OSX?&lt;/h3&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb4&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb4-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb4-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;brew&lt;/span&gt; update&lt;/span&gt;
&lt;span id=&quot;cb4-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb4-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;brew&lt;/span&gt; install pandoc&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;/section&gt;
&lt;section id=&quot;imma-use-pandoc&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Imma Use Pandoc…&lt;/h2&gt;
&lt;p&gt;Alright, so I’ve got tons of markdown files, fairly structured, with
bunches of links and I need html5. I’ll create a &lt;code&gt;Makefile&lt;/code&gt;
proof-of-concept for this:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb5&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb5-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb5-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;index.html:&lt;/span&gt; README.md&lt;/span&gt;
&lt;span id=&quot;cb5-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb5-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;ex&quot;&gt;pandoc&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-f&lt;/span&gt; markdown &lt;span class=&quot;at&quot;&gt;-t&lt;/span&gt; html5 &lt;span class=&quot;at&quot;&gt;-o&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;$@&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;$&amp;lt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Running &lt;code&gt;make&lt;/code&gt; takes my &lt;code&gt;README.md&lt;/code&gt; and makes
this:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb6&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource html numberLines&quot;&gt;&lt;code class=&quot;sourceCode html&quot;&gt;&lt;span id=&quot;cb6-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;&amp;lt;!DOCTYPE &lt;/span&gt;html&lt;span class=&quot;dt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-3&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-4&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;charset&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;utf-8&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-5&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;generator&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;pandoc&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-6&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;viewport&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;width=device-width, initial-scale=1.0, user-scalable=yes&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-7&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-8&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-8&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;style&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;text/css&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;code{&lt;span class=&quot;kw&quot;&gt;white-space&lt;/span&gt;: &lt;span class=&quot;dv&quot;&gt;pre&lt;/span&gt;&lt;span class=&quot;op&quot;&gt;;&lt;/span&gt;}&lt;span class=&quot;kw&quot;&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-9&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-9&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;co&quot;&gt;&amp;lt;!--[if lt IE 9]&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-10&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-10&quot;&gt;&lt;/a&gt;&lt;span class=&quot;co&quot;&gt;    &amp;lt;script src=&amp;quot;http://html5shim.googlecode.com/svn/trunk/html5.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-11&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-11&quot;&gt;&lt;/a&gt;&lt;span class=&quot;co&quot;&gt;  &amp;lt;![endif]--&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-12&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-12&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-13&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-13&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-14&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-14&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;h1&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;tyler-ciprianis-bookmarks&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;Tyler Cipriani&amp;#39;s Bookmarks&lt;span class=&quot;kw&quot;&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-15&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-15&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;p&amp;gt;&lt;/span&gt;In an effort to &lt;span class=&quot;kw&quot;&gt;&amp;lt;em&amp;gt;&lt;/span&gt;not&lt;span class=&quot;kw&quot;&gt;&amp;lt;/em&amp;gt;&lt;/span&gt; have 100+ tabs open…&lt;span class=&quot;kw&quot;&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-16&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-16&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;ul&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-17&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-17&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;http://www.flickr.com/photos/tylercipriani/&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;My Photography&lt;span class=&quot;kw&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-18&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-18&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;Design.md&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;Design&lt;span class=&quot;kw&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-19&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-19&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;Development.md&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;Development&lt;span class=&quot;kw&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-20&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-20&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;Business.md&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;Business&lt;span class=&quot;kw&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-21&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-21&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;li&amp;gt;&amp;lt;a&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;Fun.md&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;Fun&lt;span class=&quot;kw&quot;&gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-22&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-22&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-23&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-23&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb6-24&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb6-24&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id=&quot;titlelayoutcss&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Title/Layout/CSS&lt;/h2&gt;
&lt;p&gt;So now that I’m outputting html, I still need to be able to:&lt;/p&gt;
&lt;ol type=&quot;1&quot;&gt;
&lt;li&gt;Configure a layout in which to render html&lt;/li&gt;
&lt;li&gt;Include a css file in said layout&lt;/li&gt;
&lt;li&gt;Add post metadata to my layout (e.g., title, headline, etc.)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Pandoc is able to do all of these
things—easy-peasy-lemon-squeezy.&lt;/p&gt;
&lt;p&gt;First, to establish a layout, let’s copy the default html5 layout
file for Pandoc:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb7&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb7-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb7-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;pandoc&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-D&lt;/span&gt; html5 &lt;span class=&quot;op&quot;&gt;&amp;gt;&lt;/span&gt; _layout.html5&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I’ll make some small tweaks to that file, keep the variables I need,
ditch the variables I don’t need. Here is the html5 layout file I came
up with:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb8&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource html numberLines&quot;&gt;&lt;code class=&quot;sourceCode html&quot;&gt;&lt;span id=&quot;cb8-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;&amp;lt;!doctype &lt;/span&gt;html&lt;span class=&quot;dt&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;html&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;lang&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;en&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-3&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-4&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;charset&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;utf-8&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-5&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;http-equiv&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;X-UA-Compatible&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;IE=edge&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-6&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;title&amp;gt;&lt;/span&gt;$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$&lt;span class=&quot;kw&quot;&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-7&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;meta&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;viewport&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;width=device-width, initial-scale=1&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-8&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-8&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;rel&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;stylesheet&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;http://fonts.googleapis.com/css?family=Open+Sans:800&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-9&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-9&quot;&gt;&lt;/a&gt;$for(css)$&lt;/span&gt;
&lt;span id=&quot;cb8-10&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-10&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;rel&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;stylesheet&amp;quot;&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;$css$&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-11&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-11&quot;&gt;&lt;/a&gt;$endfor$&lt;/span&gt;
&lt;span id=&quot;cb8-12&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-12&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-13&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-13&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-14&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-14&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;co&quot;&gt;&amp;lt;!--[if lt IE 9]&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-15&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-15&quot;&gt;&lt;/a&gt;&lt;span class=&quot;co&quot;&gt;    &amp;lt;script src=&amp;quot;http://html5shim.googlecode.com/svn/trunk/html5.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-16&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-16&quot;&gt;&lt;/a&gt;&lt;span class=&quot;co&quot;&gt;  &amp;lt;![endif]--&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-17&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-17&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-18&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-18&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;main&lt;/span&gt; &lt;span class=&quot;er&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;ot&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;container&amp;quot;&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-19&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-19&quot;&gt;&lt;/a&gt;    $body$&lt;/span&gt;
&lt;span id=&quot;cb8-20&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-20&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;kw&quot;&gt;&amp;lt;/main&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-21&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-21&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-22&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-22&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb8-23&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb8-23&quot;&gt;&lt;/a&gt;&lt;span class=&quot;kw&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Next, I need to figure out how to include a css stylesheet. A quick
search for &lt;code&gt;css&lt;/code&gt; in &lt;code&gt;pandoc(1)&lt;/code&gt; turns up the
&lt;code&gt;--css&lt;/code&gt; flag which enables you to link to a css
stylesheet.&lt;/p&gt;
&lt;p&gt;Updated &lt;code&gt;Makefile&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb9&quot;&gt;&lt;pre
class=&quot;sourceCode bash&quot;&gt;&lt;code class=&quot;sourceCode bash&quot;&gt;&lt;span id=&quot;cb9-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb9-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ex&quot;&gt;index.html:&lt;/span&gt; README.md&lt;/span&gt;
&lt;span id=&quot;cb9-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb9-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;ex&quot;&gt;pandoc&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;--template&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;_layout&amp;quot;&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;--css&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;css/main.css&amp;quot;&lt;/span&gt; &lt;span class=&quot;at&quot;&gt;-f&lt;/span&gt; markdown &lt;span class=&quot;at&quot;&gt;-t&lt;/span&gt; html5 &lt;span class=&quot;at&quot;&gt;-o&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;va&quot;&gt;$@&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;$&amp;lt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Finally, I need to be able to include a unique
&lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; tag string for each page. Again, a search
through &lt;code&gt;pandoc(1)&lt;/code&gt; for &lt;code&gt;variable&lt;/code&gt; yields results;
using the &lt;code&gt;-V&lt;/code&gt; flag enables you to set template variables
using &lt;code&gt;-V [KEY]=[val]&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A bit more digging in the online docs, however, nets better solution:
YAML Metadata blocks—just like jekyll!&lt;/p&gt;
&lt;p&gt;So, for each markdown file in my repo, I’ll add a block to the top
that looks like this:&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb10&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource yaml numberLines&quot;&gt;&lt;code class=&quot;sourceCode yaml&quot;&gt;&lt;span id=&quot;cb10-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb10-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;pp&quot;&gt;---&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb10-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb10-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;fu&quot;&gt;pagetitle&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;at&quot;&gt; &amp;lt;pagetitle&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb10-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb10-3&quot;&gt;&lt;/a&gt;&lt;span class=&quot;pp&quot;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;$pagetitle$&lt;/code&gt; is the variable I defined in my
&lt;code&gt;_layout.html5&lt;/code&gt; that I’m now passing as a template to
Pandoc.&lt;/p&gt;
&lt;/section&gt;
&lt;section id=&quot;makefile-fanciness&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Makefile fanciness&lt;/h2&gt;
&lt;p&gt;Alright, so now that I have the basics of Pandoc down, I need to whip
my &lt;code&gt;Makefile&lt;/code&gt; into shape.&lt;/p&gt;
&lt;p&gt;First thing is I want to convert ALL of my markdown files to html,
not just the &lt;code&gt;README.md&lt;/code&gt;. So howzabout I add a wildcard
target for all the &lt;code&gt;html&lt;/code&gt; files? Also, the whole point of
this is to make a github pages site, so let’s add that to the
&lt;code&gt;Makefile&lt;/code&gt; too&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb11&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource makefile numberLines&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb11-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;REPO &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;shell&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; git config --get remote.origin.url&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; gh-pages&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-3&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-4&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;all:&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;addprefix&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;addsuffix&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; .html&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;basename&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;wildcard&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; *.md&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;))))&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-5&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-6&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(GHPAGES):&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-7&quot;&gt;&lt;/a&gt;  git clone &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;REPO&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-8&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-8&quot;&gt;&lt;/a&gt;  (cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git checkout &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;) || (cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git checkout --orphan &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git rm -rf .)&lt;/span&gt;
&lt;span id=&quot;cb11-9&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-9&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-10&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-10&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(GHPAGES)/%.html:&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; %.md&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb11-11&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb11-11&quot;&gt;&lt;/a&gt;  pandoc -s --template &lt;span class=&quot;st&quot;&gt;&amp;quot;_layout&amp;quot;&lt;/span&gt; -c &lt;span class=&quot;st&quot;&gt;&amp;quot;css/main.css&amp;quot;&lt;/span&gt; -f markdown -t html5 -o &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$@&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$&amp;lt;&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Running &lt;code&gt;make&lt;/code&gt; at this point should checkout your current
git repository to a subdirectory called &lt;code&gt;gh-pages&lt;/code&gt; (which
should be added to &lt;code&gt;.gitignore&lt;/code&gt; on master).&lt;/p&gt;
&lt;p&gt;This &lt;code&gt;Makefile&lt;/code&gt; first tries to checkout an existing
&lt;code&gt;gh-pages&lt;/code&gt; branch, otherwise it creates a new orphan branch
for &lt;code&gt;gh-pages&lt;/code&gt;. After that, we glob the current directory for
any file name &lt;code&gt;*.md&lt;/code&gt; and run it through pandoc, placing the
result in &lt;code&gt;gh-pages/[whatever].html&lt;/code&gt;&lt;/p&gt;
&lt;/section&gt;
&lt;section id=&quot;niceities&quot; class=&quot;level2&quot;&gt;
&lt;h2&gt;Niceities&lt;/h2&gt;
&lt;p&gt;I’m a big fan of pre-processors, so the css/main.css file (which
doesn’t &lt;em&gt;actually exist&lt;/em&gt; as of yet) should be converted from
&lt;code&gt;less&lt;/code&gt;. The easiest way to do that: add a
&lt;code&gt;package.json&lt;/code&gt; with &lt;code&gt;less&lt;/code&gt; as a dependency.&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb12&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource json numberLines&quot;&gt;&lt;code class=&quot;sourceCode json&quot;&gt;&lt;span id=&quot;cb12-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;fu&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-2&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;dt&quot;&gt;&amp;quot;name&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;linkblog&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-3&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;dt&quot;&gt;&amp;quot;version&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;0.0.1&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-4&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;dt&quot;&gt;&amp;quot;dependencies&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-5&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;dt&quot;&gt;&amp;quot;less&amp;quot;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-6&quot;&gt;&lt;/a&gt;  &lt;span class=&quot;fu&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb12-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb12-7&quot;&gt;&lt;/a&gt;&lt;span class=&quot;fu&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Now running &lt;code&gt;npm install&lt;/code&gt; should create a new
&lt;code&gt;node_modules&lt;/code&gt; directory (which should be added to
&lt;code&gt;.gitignore&lt;/code&gt; on master). Now we need to add a
&lt;code&gt;lessc&lt;/code&gt; step to our &lt;code&gt;Makefile&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb13&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource makefile numberLines&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb13-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;LESSC    &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; node_modules/less/bin/lessc&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; less/main.less&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-3&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-4&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR  &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/css&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-5&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;CSSFILE &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/main.css&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-6&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-7&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(CSSFILE):&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-8&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-8&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSC&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-9&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-9&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-10&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-10&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(CSSDIR):&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb13-11&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb13-11&quot;&gt;&lt;/a&gt;    mkdir -p &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Also, it’s always nice to have a &lt;code&gt;clean&lt;/code&gt; target in any
&lt;code&gt;Makefile&lt;/code&gt;&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb14&quot;&gt;&lt;pre
class=&quot;sourceCode makefile&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb14-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb14-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;clean:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb14-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb14-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;    rm -rf &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I’d also like to be able to preview before commiting this file by
typing &lt;code&gt;make serve&lt;/code&gt;&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb15&quot;&gt;&lt;pre
class=&quot;sourceCode makefile&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb15-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb15-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;serve:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb15-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb15-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; python -m SimpleHTTPServer&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Finally, speaking of commiting this file, let’s make
&lt;code&gt;commit&lt;/code&gt; a target, too.&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb16&quot;&gt;&lt;pre
class=&quot;sourceCode makefile&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb16-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-1&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;commit:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb16-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-2&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb16-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-3&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;        git add . &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb16-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-4&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;        git commit --edit --message=&lt;span class=&quot;st&quot;&gt;&amp;quot;Publish @&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$$&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;(date)&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb16-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-5&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb16-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb16-6&quot; aria-hidden=&quot;true&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;        git push origin &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Now when I update my &lt;code&gt;links&lt;/code&gt; repo’s markdown files I issue
a simple series of commands: &lt;code&gt;make&lt;/code&gt; checks-out my
&lt;code&gt;gh-pages&lt;/code&gt; branch and builds the html and css files,
&lt;code&gt;make serve&lt;/code&gt; lets me look at the output html at
&lt;code&gt;localhost:8000&lt;/code&gt;, and, finally, &lt;code&gt;make commit&lt;/code&gt;
pushes those changes live.&lt;/p&gt;
&lt;p&gt;So here’s the &lt;a href=&quot;http://www.tylercipriani.com/links&quot;&gt;result&lt;/a&gt;
and the final &lt;code&gt;Makefile&lt;/code&gt;&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb17&quot;&gt;&lt;pre
class=&quot;sourceCode numberSource makefile numberLines&quot;&gt;&lt;code class=&quot;sourceCode makefile&quot;&gt;&lt;span id=&quot;cb17-1&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;REPO &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;shell&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; git config --get remote.origin.url&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-2&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-2&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; gh-pages&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-3&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-3&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-4&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-4&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;LESSC    &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; node_modules/less/bin/lessc&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-5&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-5&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; less/main.less&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-6&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-6&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-7&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-7&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR  &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/css&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-8&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-8&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dt&quot;&gt;CSSFILE &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/main.css&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-9&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-9&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-10&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-10&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;all:&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; init clean &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;addprefix&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;addsuffix&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; .html&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;basename&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;wildcard&lt;/span&gt;&lt;span class=&quot;st&quot;&gt; *.md&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;))))&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-11&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-11&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-12&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-12&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(GHPAGES)/%.html:&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; %.md&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-13&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-13&quot;&gt;&lt;/a&gt;    pandoc -s --template &lt;span class=&quot;st&quot;&gt;&amp;quot;_layout&amp;quot;&lt;/span&gt; -c &lt;span class=&quot;st&quot;&gt;&amp;quot;css/main.css&amp;quot;&lt;/span&gt; -f markdown -t html5 -o &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$@&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$&amp;lt;&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-14&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-14&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-15&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-15&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(CSSFILE):&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-16&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-16&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSC&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSFILE&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-17&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-17&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-18&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-18&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(CSSDIR):&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-19&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-19&quot;&gt;&lt;/a&gt;    mkdir -p &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;CSSDIR&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-20&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-20&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-21&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-21&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;$(GHPAGES):&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-22&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-22&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;echo &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;REPO&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-23&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-23&quot;&gt;&lt;/a&gt;    git clone &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;REPO&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-24&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-24&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;echo &lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;quot;Donezo&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-25&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-25&quot;&gt;&lt;/a&gt;    (cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git checkout &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;) || (cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git checkout --orphan &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; git rm -rf .)&lt;/span&gt;
&lt;span id=&quot;cb17-26&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-26&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-27&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-27&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;init:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-28&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-28&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;command -v pandoc &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 || (echo &lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&amp;#39;pandoc not found http://johnmacfarlane.net/pandoc/installing.html&amp;#39;&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt; &amp;amp;&amp;amp; exit 1)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-29&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-29&quot;&gt;&lt;/a&gt;    &lt;span class=&quot;ch&quot;&gt;@&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt;[ -x &lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;LESSC&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;fu&quot;&gt; ] || npm install&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-30&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-30&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-31&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-31&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;serve:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-32&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-32&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; python -m SimpleHTTPServer&lt;/span&gt;
&lt;span id=&quot;cb17-33&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-33&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-34&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-34&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;clean:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-35&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-35&quot;&gt;&lt;/a&gt;    rm -rf &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-36&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-36&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-37&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-37&quot;&gt;&lt;/a&gt;&lt;span class=&quot;dv&quot;&gt;commit:&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-38&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-38&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-39&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-39&quot;&gt;&lt;/a&gt;        git add . &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-40&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-40&quot;&gt;&lt;/a&gt;        git commit --edit --message=&lt;span class=&quot;st&quot;&gt;&amp;quot;Publish @&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;$$&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;(date)&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-41&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-41&quot;&gt;&lt;/a&gt;    cd &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;ch&quot;&gt;\&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-42&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-42&quot;&gt;&lt;/a&gt;        git push origin &lt;span class=&quot;ch&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt;GHPAGES&lt;/span&gt;&lt;span class=&quot;ch&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-43&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-43&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb17-44&quot;&gt;&lt;a href=&quot;https://tylercipriani.com/tags/jekyll/#cb17-44&quot;&gt;&lt;/a&gt;&lt;span class=&quot;ot&quot;&gt;.PHONY:&lt;/span&gt;&lt;span class=&quot;dt&quot;&gt; init clean commit serve&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;

	</content>


	<link rel="comments" href="//tylercipriani.com/blog/2014/05/13/replace-jekyll-with-pandoc-makefile/#comments" type="text/html" />


	<link rel="comments" href="//tylercipriani.com/blog/2014/05/13/replace-jekyll-with-pandoc-makefile/comments.atom" type="application/atom+xml" />

</entry>

</feed>
