rebuilding site Sat Mar 29 22:26:14 EDT 2014

This commit is contained in:
Spencer Lyon 2014-03-29 22:26:14 -04:00
parent 33dff19264
commit d17bdbeea7
28 changed files with 476 additions and 205 deletions

View File

@ -1,7 +1,7 @@
---
title: "Just another sample post"
description: "This should be a more useful description"
date: "2014-03-29"
description: "This should be a more useful description"
categories:
- "hugo"
- "fun"

View File

@ -1,9 +1,12 @@
{{ $baseurl := .Site.BaseUrl }}
<!--
This file is a template that is included various places to have a list of
that particular posts categories generated.
-->
<div class="container">
<ul class="catlist">
<li><em>Categories: </em></li>
{{ range .Params.categories }}
<li><a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
<ul class="catlist">
<li><em>Categories: </em></li>
{{ range .Params.categories }}
<li><a href="/categories/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
</div>

View File

@ -1,3 +1,12 @@
<!--
This is the main footer for the website. It is included on every page.
It is very basic. It has some text and a link back to the home page of the
site.
It also closes the <body> and <html> tags for each page.
-->
<div class="container content">
<footer>
<div>

View File

@ -1,3 +1,12 @@
<!--
This file simply includes all the css and fonts that should go into the
header of each page.
It is separate from the rest of the header because the actual header for the
homepage of the site is different, but we want every page of the site
(including the homepage) to have the same assets.
-->
<link rel="stylesheet" href="/css/poole.css">
<link rel="stylesheet" href="/css/syntax.css">
<link rel="stylesheet" href="/css/lanyon.css">

View File

@ -1,3 +1,10 @@
<!--
This is the actual header for each page of the site except the homepage.
It simply shows the title of the page and includes the css/fonts found in
/layouts/chrome/header.html
-->
<!DOCTYPE html>
<html>
<head>

View File

@ -1,15 +1,29 @@
<!--
This is a helper file that adds previous and next links to the bottom of each
blog post. (below next and previous refer to chronological next and previous)
It will check to see if there is a previous blog post. If is, it will print
an arrow as well as the title of the previous post as a link as
left-justified text.
It will then check for a next blog post. If there is one it prints the title
of the next post with a right arrow as right justified text on the same line.
If there is ever not a next or previous post, it does nothing.
-->
<div class="container">
<hr />
<hr />
<span class="left">
{{if .Prev}}
{{if .Prev}}
<span class="left">
&nbsp; <em>&laquo; Previous:</em> <a class="next" href="{{.Prev.Permalink}}">{{.Prev.Title}}</a>
{{end}}
</span>
</span>
{{end}}
<span class="right">
{{if .Next}}
{{if .Next}}
<span class="right">
<em>Next: </em><a class="next" href="{{.Next.Permalink}}"> &nbsp; {{ .Next.Title }}</a> &raquo;
{{end}}
</span>
</span>
{{end}}
</div>

View File

@ -1,3 +1,13 @@
<!--
This file defines the main sidebar that the user can toggle in and out of
view. This is included in every file.
Most of this was taken directly from the Lanyon example site.
Here we simply include a link to the homepage, a link to the blog posts,
and some copyright information.
-->
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
styles, `#sidebar-checkbox` for behavior. -->
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

View File

@ -1,6 +1,13 @@
<!-- This file is the homepage of the website. -->
<!DOCTYPE html>
<html>
<head>
<!--
This section just sets up some metadata for the website.
It probably does not need to be changed.
-->
<meta charset="utf-8">
<base href="{{ .Site.BaseUrl }}">
<title>{{ .Site.Title }}</title>
@ -13,8 +20,7 @@
{{ template "chrome/sidebar.html" . }}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content. -->
<!-- See /layouts/indexes/category.html for explanation of this section -->
<div class="wrap">
<div class="masthead">
<div class="container">
@ -24,6 +30,20 @@
</div>
</div>
<!--
This section contains the content of our home page.
I have broken it into three main sections:
(1) about the blog
(2) about me
(3) Recent posts
The first two sections are pretty self explanatory.
In the recent posts section we ask Hugo to use the template found in
/layouts/posts/summary.html to show a summary of the 10 most recent
posts we have made.
-->
<div class="container content">
<h1>This is a Blog</h1>

View File

@ -1,8 +1,27 @@
<!--
This file is used to render a list of all posts that belong to a specific
category.
-->
{{ template "chrome/header.html" . }}
<body class="theme-base-08">
{{ template "chrome/sidebar.html" . }}
<!--
Taken from Lanyon example site.
Putting everything in the wrap div makes the whole page slide over when the
navigation button is pressed.
The masthead is a special Lanyon class that is above the horizontal line at
the top of each page. To me it seemed like a place to put the page title.
We want the title to be Blog Posts and we want it to be a link to the
root of the /posts section of the site.
-->
<div class="wrap">
<div class="masthead">
<div class="container">
@ -12,6 +31,7 @@
</div>
</div>
<!-- Show summary of all posts in a category -->
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">

View File

@ -1,8 +1,15 @@
<!--
This file is used to generate the root file of a Hugo index.
In our case this is only the index for categories, so it will render the
page baseurl/categories
-->
{{ template "chrome/header.html" . }}
<body class="theme-base-08">
{{ template "chrome/sidebar.html" . }}
<!-- See /layouts/indexes/category.html for explanation of this section -->
<div class="wrap">
<div class="masthead">
<div class="container">
@ -12,8 +19,16 @@
</div>
</div>
<!--
In this section we instruct Hugo to list all the different items in the
index. Because we only have an index for categories, each item will be
a category name. The name is a link to a page that displays all posts in
that category.
We also list the number of entries in each category in parenthesis next
to the category name.
-->
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
<div>
<h1>Archive of Posts, by {{ .Data.Singular }}</h1>

View File

@ -1,8 +1,13 @@
<!--
This file is used to render a list of all posts on our blog.
-->
{{ template "chrome/header.html" . }}
<body class="theme-base-08">
{{ template "chrome/sidebar.html" . }}
<!-- See /layouts/indexes/category.html for explanation of this section -->
<div class="wrap">
<div class="masthead">
<div class="container">
@ -12,8 +17,14 @@
</div>
</div>
<div class="container content">
<!--
In this section we have Hugo generate a list of all blog posts, ordered
by date.
When showing each post we ask Hugo to use the template in
/layouts/posts/li.html to provide a short description of each post.
-->
<div class="container content">
<p>Here are all my blog posts, in descending order by creation date. If you would like to view them by topic, see the <a href="/categories">Categories</a> page.</p>
<h1 class="post-title">All Blog Posts (By Date)</h1>
<section id="main">

View File

@ -1,12 +1,22 @@
{{ $baseurl := .Site.BaseUrl }}
<!--
This file defines how a summary of a specifc post should be presented in a
list (hence the file name li.html for "list item"). This is used in the
template /layouts/indexes/posts.html
The lines of the displayed list item are as follows:
(1) The name of the post
(2) The date the post was written as left-justified text and a
right-justified horizontal list of categories for that post.
(3) The contents of the description field in the metadata of the actual
markdown source of the post.
-->
<li>
<span><h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2></span>
<span class="left">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
<span class="right">
<ul class="catlist">
{{ range .Params.categories }}
<li><a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> </li>
<li><a href="/categories/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
</span>

View File

@ -1,8 +1,13 @@
<!--
This file is responsible for rendering a single blog post.
-->
{{ template "chrome/header.html" . }}
<body class="theme-base-08">
{{ template "chrome/sidebar.html" . }}
<!-- See /layouts/indexes/category.html for explanation of this section -->
<div class="wrap">
<div class="masthead">
<div class="container">
@ -12,12 +17,23 @@
</div>
</div>
<!--
This is where the actual post is displayed.
We first access the title metadata field from the markdown source and
display it as a heading.
We then access the date the post was written (also in the markdown
metadata) and display a formated version of it
Finally we include the actual content of the post.
-->
<div class="container content">
<h1 class="post-title">{{ .Title }}</h1>
<section id="main">
<h5 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </h5>
{{ .Content }}
</section>
{{ .Content }}
</div>
</div>

View File

@ -1,3 +1,16 @@
<!--
This file defines how a summary of a specifc post should be presented. This
is similar to the file /layouts/posts/li.html, but is meant have a bit longer
of a representation than the one in that file.
This template does the following:
(1) Shows the name of the post
(2) Shows the date the post was created (from metadata in post markdown
source)
(3) Displays a Hugo-generated summary of the post
(4) Provides a link with text Read More that points to the post
-->
<article class="post">
<header>
<h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Blah </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/blah">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Blah&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest'> First Post</a> </h2>
<div class="meta">Thu, Mar 27, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Boring </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/boring">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Boring&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/middle'> Second Post</a> </h2>
<div class="meta">Fri, Mar 28, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Fun </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/fun">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Fun&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/newest'> Just another sample post</a> </h2>
<div class="meta">Sat, Mar 29, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Hugo </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/hugo">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Hugo&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/newest'> Just another sample post</a> </h2>
<div class="meta">Sat, Mar 29, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,7 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +9,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Categories </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +21,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +42,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,8 +52,8 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
<div>
<h1>Archive of Posts, by category</h1>
@ -74,7 +83,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Second </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/second">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Second&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/middle'> Second Post</a> </h2>
<div class="meta">Fri, Mar 28, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Template </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/template">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Template&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/middle'> Second Post</a> </h2>
<div class="meta">Fri, Mar 28, 2014</div>
@ -72,7 +85,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,8 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +10,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Test </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/categories/test">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +22,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +43,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,6 +53,7 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Recent Posts</h1>
<section id="main">
@ -50,7 +61,9 @@
<h5><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Full Category Index</a></h5>
<h2>Posts in &ldquo;Test&rdquo;</h2>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/newest'> Just another sample post</a> </h2>
<div class="meta">Sat, Mar 29, 2014</div>
@ -63,7 +76,9 @@
</article>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest'> First Post</a> </h2>
<div class="meta">Thu, Mar 27, 2014</div>
@ -85,7 +100,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,13 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title>Hugo Blog Template for GitHub Pages</title>
<link rel="canonical" href="http://spencerlyon2.github.io/">
<link href="http://spencerlyon2.github.io/index.xml" rel="alternate" type="application/rss+xml" title="Hugo Blog Template for GitHub Pages" />
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -16,6 +21,8 @@
<body class="theme-base-08" lang="en">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -45,6 +52,7 @@
</div>
</div>
<div class="container content">
<h1>This is a Blog</h1>
@ -66,7 +74,9 @@
<section id="main">
<ul id="list">
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/newest'> Just another sample post</a> </h2>
<div class="meta">Sat, Mar 29, 2014</div>
@ -79,7 +89,9 @@
</article>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/middle'> Second Post</a> </h2>
<div class="meta">Fri, Mar 28, 2014</div>
@ -92,7 +104,9 @@
</article>
<article class="post">
<article class="post">
<header>
<h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest'> First Post</a> </h2>
<div class="meta">Thu, Mar 27, 2014</div>
@ -112,6 +126,8 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<footer>
<div>

View File

@ -1,3 +1,7 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +9,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Posts </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/posts">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +21,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +42,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,26 +52,25 @@
</div>
</div>
<div class="container content">
<div class="container content">
<p>Here are all my blog posts, in descending order by creation date. If you would like to view them by topic, see the <a href="http://spencerlyon2.github.io/hugo_gh_blog/categories">Categories</a> page.</p>
<h1 class="post-title">All Blog Posts (By Date)</h1>
<section id="main">
<ul id="list">
<li>
<span><h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/newest'> Just another sample post</a> </h2></span>
<span class="left">Sat, Mar 29, 2014</span>
<span class="right">
<ul class="catlist">
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/hugo">hugo</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/hugo">hugo</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/fun">fun</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/fun">fun</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/test">test</a> </li>
</ul>
</span>
@ -73,18 +81,17 @@
<li>
<span><h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/middle'> Second Post</a> </h2></span>
<span class="left">Fri, Mar 28, 2014</span>
<span class="right">
<ul class="catlist">
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/template">template</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/template">template</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/second">second</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/second">second</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/boring">boring</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/boring">boring</a> </li>
</ul>
</span>
@ -95,16 +102,15 @@
<li>
<span><h2><a href='http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest'> First Post</a> </h2></span>
<span class="left">Thu, Mar 27, 2014</span>
<span class="right">
<ul class="catlist">
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/blah">blah</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/blah">blah</a> </li>
</ul>
</span>
@ -122,7 +128,9 @@
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,7 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +9,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Second Post </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/middle">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +21,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +42,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,11 +52,11 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Second Post</h1>
<section id="main">
<h5 id="date"> Fri Mar 28, 2014 </h5>
</section>
<h2 id="toc_0">Sample Post 1</h2>
@ -67,46 +76,51 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo, neque, eveniet voluptate eos debitis illum qui nostrum eius maxime ratione assumenda suscipit impedit deserunt voluptatibus odio ducimus non. Ex, ratione.</p>
</section>
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container">
<hr />
<hr />
<span class="left">
<div class="container">
<hr />
<hr />
<span class="left">
&nbsp; <em>&laquo; Previous:</em> <a class="next" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/newest">Just another sample post</a>
</span>
</span>
<span class="right">
<span class="right">
<em>Next: </em><a class="next" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest"> &nbsp; First Post</a> &raquo;
</span>
</span>
</div>
<br />
<div class="container">
<ul class="catlist">
<li><em>Categories: </em></li>
<ul class="catlist">
<li><em>Categories: </em></li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/template">template</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/template">template</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/second">second</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/second">second</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/boring">boring</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/boring">boring</a> </li>
</ul>
</ul>
</div>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,7 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +9,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> Just another sample post </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/newest">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +21,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +42,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,11 +52,11 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">Just another sample post</h1>
<section id="main">
<h5 id="date"> Sat Mar 29, 2014 </h5>
</section>
<h2 id="toc_0">First Heading</h2>
@ -62,44 +71,47 @@
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corporis, numquam ipsa ad! Quasi, deleniti quae sint consequatur error corporis dicta inventore alias soluta dignissimos? Molestias, quia ab deserunt repellat ut.</p>
</section>
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container">
<div class="container">
<hr />
<hr />
<span class="left">
</span>
<span class="right">
<span class="right">
<em>Next: </em><a class="next" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/middle"> &nbsp; Second Post</a> &raquo;
</span>
</span>
</div>
<br />
<div class="container">
<ul class="catlist">
<li><em>Categories: </em></li>
<ul class="catlist">
<li><em>Categories: </em></li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/hugo">hugo</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/hugo">hugo</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/fun">fun</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/fun">fun</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/test">test</a> </li>
</ul>
</ul>
</div>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,3 +1,7 @@
<!DOCTYPE html>
<html>
<head>
@ -5,7 +9,9 @@
<base href="http://spencerlyon2.github.io/hugo_gh_blog/">
<title> First Post </title>
<link rel="canonical" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/oldest">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/poole.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/syntax.css">
<link rel="stylesheet" href="http://spencerlyon2.github.io/hugo_gh_blog/css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">
@ -15,6 +21,8 @@
<body class="theme-base-08">
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
@ -34,6 +42,7 @@
</div>
<div class="wrap">
<div class="masthead">
<div class="container">
@ -43,11 +52,11 @@
</div>
</div>
<div class="container content">
<h1 class="post-title">First Post</h1>
<section id="main">
<h5 id="date"> Thu Mar 27, 2014 </h5>
</section>
<h2 id="toc_0">Sample Post 1</h2>
@ -67,42 +76,45 @@ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo, neque, eveniet voluptate eos debitis illum qui nostrum eius maxime ratione assumenda suscipit impedit deserunt voluptatibus odio ducimus non. Ex, ratione.</p>
</section>
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
<div class="container">
<hr />
<hr />
<span class="left">
<div class="container">
<hr />
<hr />
<span class="left">
&nbsp; <em>&laquo; Previous:</em> <a class="next" href="http://spencerlyon2.github.io/hugo_gh_blog/posts/middle">Second Post</a>
</span>
</span>
<span class="right">
</span>
</div>
<br />
<div class="container">
<ul class="catlist">
<li><em>Categories: </em></li>
<ul class="catlist">
<li><em>Categories: </em></li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/test">test</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog//categories/blah">blah</a> </li>
<li><a href="http://spencerlyon2.github.io/hugo_gh_blog/categories/blah">blah</a> </li>
</ul>
</ul>
</div>
<div class="container content">
<div class="container content">
<footer>
<div>
<p class="right credit">

View File

@ -1,66 +0,0 @@
.hll { background-color: #ffffcc }
/*{ background: #f0f3f3; }*/
.c { color: #999; } /* Comment */
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
.k { color: #006699; } /* Keyword */
.o { color: #555555 } /* Operator */
.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
.cp { color: #009999 } /* Comment.Preproc */
.c1 { color: #999; } /* Comment.Single */
.cs { color: #999; } /* Comment.Special */
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #FF0000 } /* Generic.Error */
.gh { color: #003300; } /* Generic.Heading */
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
.go { color: #AAAAAA } /* Generic.Output */
.gp { color: #000099; } /* Generic.Prompt */
.gs { } /* Generic.Strong */
.gu { color: #003300; } /* Generic.Subheading */
.gt { color: #99CC66 } /* Generic.Traceback */
.kc { color: #006699; } /* Keyword.Constant */
.kd { color: #006699; } /* Keyword.Declaration */
.kn { color: #006699; } /* Keyword.Namespace */
.kp { color: #006699 } /* Keyword.Pseudo */
.kr { color: #006699; } /* Keyword.Reserved */
.kt { color: #007788; } /* Keyword.Type */
.m { color: #FF6600 } /* Literal.Number */
.s { color: #d44950 } /* Literal.String */
.na { color: #4f9fcf } /* Name.Attribute */
.nb { color: #336666 } /* Name.Builtin */
.nc { color: #00AA88; } /* Name.Class */
.no { color: #336600 } /* Name.Constant */
.nd { color: #9999FF } /* Name.Decorator */
.ni { color: #999999; } /* Name.Entity */
.ne { color: #CC0000; } /* Name.Exception */
.nf { color: #CC00FF } /* Name.Function */
.nl { color: #9999FF } /* Name.Label */
.nn { color: #00CCFF; } /* Name.Namespace */
.nt { color: #2f6f9f; } /* Name.Tag */
.nv { color: #003333 } /* Name.Variable */
.ow { color: #000000; } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #FF6600 } /* Literal.Number.Float */
.mh { color: #FF6600 } /* Literal.Number.Hex */
.mi { color: #FF6600 } /* Literal.Number.Integer */
.mo { color: #FF6600 } /* Literal.Number.Oct */
.sb { color: #CC3300 } /* Literal.String.Backtick */
.sc { color: #CC3300 } /* Literal.String.Char */
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
.s2 { color: #CC3300 } /* Literal.String.Double */
.se { color: #CC3300; } /* Literal.String.Escape */
.sh { color: #CC3300 } /* Literal.String.Heredoc */
.si { color: #AA0000 } /* Literal.String.Interpol */
.sx { color: #CC3300 } /* Literal.String.Other */
.sr { color: #33AAAA } /* Literal.String.Regex */
.s1 { color: #CC3300 } /* Literal.String.Single */
.ss { color: #FFCC33 } /* Literal.String.Symbol */
.bp { color: #336666 } /* Name.Builtin.Pseudo */
.vc { color: #003333 } /* Name.Variable.Class */
.vg { color: #003333 } /* Name.Variable.Global */
.vi { color: #003333 } /* Name.Variable.Instance */
.il { color: #FF6600 } /* Literal.Number.Integer.Long */
.css .o,
.css .o + .nt,
.css .nt + .nt { color: #999; }