-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,282 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
title: "404: Page not found" | ||
permalink: 404.html | ||
--- | ||
|
||
<div class="page"> | ||
<h1 class="page-title">404: Page not found</h1> | ||
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
# Site settings | ||
title: VHL Hacks | ||
email: [email protected] | ||
description: > # this means to ignore newlines until "baseurl:" | ||
Vista Higher Learning\'s software engineering blog | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "https://vhl.github.io" # the base hostname & protocol for your site | ||
github_username: vhl | ||
# Permalinks | ||
# | ||
# Use of `relative_permalinks` ensures post links from the index work properly. | ||
permalink: pretty | ||
relative_permalinks: true | ||
|
||
# Build settings | ||
markdown: kramdown | ||
paginate: 10 | ||
# Setup | ||
title: VHL Developers | ||
tagline: 'software engineering blog' | ||
description: 'A blog written by the software engineering team at <a href="https://vistahigherlearning.com>Vista Higher Learning</a>"' | ||
url: https://vistahigherlearning.com | ||
baseurl: '' | ||
paginate: 5 | ||
|
||
# About/contact | ||
author: | ||
name: Dev Bot | ||
url: https://vistahigherlearning.com | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<link href="http://gmpg.org/xfn/11" rel="profile"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
<!-- Enable responsiveness on mobile devices--> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> | ||
<title> | ||
{% if page.title == "Home" %} | ||
{{ site.title }} · {{ site.tagline }} | ||
{% else %} | ||
{{ page.title }} · {{ site.title }} | ||
{% endif %} | ||
</title> | ||
|
||
<!-- CSS --> | ||
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css"> | ||
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css"> | ||
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/lanyon.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400"> | ||
|
||
<!-- Icons --> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png"> | ||
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico"> | ||
|
||
<!-- RSS --> | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular | ||
styles, `#sidebar-checkbox` for behavior. --> | ||
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox"> | ||
|
||
<!-- Toggleable sidebar --> | ||
<div class="sidebar" id="sidebar"> | ||
<div class="sidebar-item"> | ||
<p>{{ site.description }}</p> | ||
</div> | ||
|
||
<nav class="sidebar-nav"> | ||
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a> | ||
|
||
{% comment %} | ||
The code below dynamically generates a sidebar nav of pages with | ||
`layout: page` in the front-matter. See readme for usage. | ||
{% endcomment %} | ||
|
||
{% assign pages_list = site.pages | sort:"url" %} | ||
{% for node in pages_list %} | ||
{% if node.title != null %} | ||
{% if node.layout == "page" %} | ||
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Download</a> | ||
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a> | ||
<span class="sidebar-nav-item">Currently v{{ site.version }}</span> | ||
</nav> | ||
|
||
<div class="sidebar-item"> | ||
<p> | ||
© {{ site.time | date: '%Y' }}. All rights reserved. | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
{% include sidebar.html %} | ||
|
||
<div class="page-content"> | ||
<div class="wrapper"> | ||
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the | ||
content to avoid any CSS collisions with our real content. --> | ||
<div class="wrap"> | ||
<div class="masthead"> | ||
<div class="container"> | ||
<h3 class="masthead-title"> | ||
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a> | ||
<small>{{ site.tagline }}</small> | ||
</h3> | ||
</div> | ||
</div> | ||
|
||
<div class="container content"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{% include footer.html %} | ||
<label for="sidebar-checkbox" class="sidebar-toggle"></label> | ||
|
||
</body> | ||
<script> | ||
(function(document) { | ||
var toggle = document.querySelector('.sidebar-toggle'); | ||
var sidebar = document.querySelector('#sidebar'); | ||
var checkbox = document.querySelector('#sidebar-checkbox'); | ||
|
||
document.addEventListener('click', function(e) { | ||
var target = e.target; | ||
|
||
if(!checkbox.checked || | ||
sidebar.contains(target) || | ||
(target === checkbox || target === toggle)) return; | ||
|
||
checkbox.checked = false; | ||
}, false); | ||
})(document); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="post"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
</header> | ||
|
||
<article class="post-content"> | ||
{{ content }} | ||
</article> | ||
|
||
<div class="page"> | ||
<h1 class="page-title">{{ page.title }}</h1> | ||
{{ content }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="post"> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p> | ||
</header> | ||
|
||
<article class="post-content"> | ||
{{ content }} | ||
</article> | ||
<div class="post"> | ||
<h1 class="post-title">{{ page.title }}</h1> | ||
<span class="post-date">{{ page.date | date_to_string }}</span> | ||
{{ content }} | ||
</div> | ||
|
||
<div class="related"> | ||
<h2>Related Posts</h2> | ||
<ul class="related-posts"> | ||
{% for post in site.related_posts limit:3 %} | ||
<li> | ||
<h3> | ||
<a href="{{ site.baseurl }}{{ post.url }}"> | ||
{{ post.title }} | ||
<small>{{ post.date | date_to_string }}</small> | ||
</a> | ||
</h3> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
--- | ||
layout: page | ||
title: About | ||
permalink: /about/ | ||
--- | ||
|
||
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/) | ||
<p class="message"> | ||
Hey there! This page is included as an example. Feel free to customize it for your own use upon downloading. Carry on! | ||
</p> | ||
|
||
You can find the source code for the Jekyll new theme at: [github.com/jglovier/jekyll-new](https://github.com/jglovier/jekyll-new) | ||
In the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*, Mr. Poole is Dr. Jekyll's virtuous and loyal butler. Similarly, Poole is an upstanding and effective butler that helps you build Jekyll themes. It's made by [@mdo](https://twitter.com/mdo). | ||
|
||
You can find the source code for Jekyll at [github.com/jekyll/jekyll](https://github.com/jekyll/jekyll) | ||
There are currently two themes built on Poole: | ||
|
||
* [Hyde](http://hyde.getpoole.com) | ||
* [Lanyon](http://lanyon.getpoole.com) | ||
|
||
Learn more and contribute on [GitHub](https://github.com/poole). | ||
|
||
## Setup | ||
|
||
Some fun facts about the setup of this project include: | ||
|
||
* Built for [Jekyll](http://jekyllrb.com) | ||
* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com) | ||
* Coded with [Sublime Text 2](http://sublimetext.com), an amazing code editor | ||
* Designed and developed while listening to music like [Blood Bros Trilogy](https://soundcloud.com/maddecent/sets/blood-bros-series) | ||
|
||
Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/poole/issues/new) or [ask me on Twitter](https://twitter.com/mdo). | ||
|
||
Thanks for reading! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: null | ||
--- | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
|
||
<title>{{ site.title }}</title> | ||
<link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/> | ||
<link href="{{ site.url }}{{ site.baseurl }}/"/> | ||
<updated>{{ site.time | date_to_xmlschema }}</updated> | ||
<id>{{ site.url }}</id> | ||
<author> | ||
<name>{{ site.author.name }}</name> | ||
<email>{{ site.author.email }}</email> | ||
</author> | ||
|
||
{% for post in site.posts %} | ||
<entry> | ||
<title>{{ post.title }}</title> | ||
<link href="{{ site.url }}{{ post.url }}"/> | ||
<updated>{{ post.date | date_to_xmlschema }}</updated> | ||
<id>{{ site.url }}{{ site.baseurl }}{{ post.id }}</id> | ||
<content type="html">{{ post.content | xml_escape }}</content> | ||
</entry> | ||
{% endfor %} | ||
|
||
</feed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,38 @@ | ||
--- | ||
layout: page | ||
layout: default | ||
title: Home | ||
--- | ||
|
||
{% for post in paginator.posts %} | ||
<div class="post"> | ||
<div class="posts"> | ||
{% for post in paginator.posts %} | ||
<div class="post"> | ||
<h1 class="post-title"> | ||
<a href="{{ site.baseurl }}/{{ post.url }}"> | ||
{{ post.title }} | ||
</a> | ||
</h1> | ||
|
||
<header class="post-header"> | ||
<h1 class="post-title"> | ||
<a href="{{ post.url }}">{{ post.title }}</a> | ||
</h1> | ||
<p class="post-meta"> | ||
{{ post.date | date: "%b %-d, %Y" }} | ||
{% if post.author %} • {{ post.author }}{% endif %} | ||
{% if post.meta %} • {{ post.meta }}{% endif %}</p> | ||
</header> | ||
|
||
<article class="post-content"> | ||
{{ post.content }} | ||
</article> | ||
<span class="post-date">{{ post.date | date_to_string }}</span> | ||
|
||
{{ post.content }} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endfor %} | ||
|
||
{% if paginator.total_pages > 1 %} | ||
<div class="pagination"> | ||
{% if paginator.previous_page %} | ||
<a href="{{ paginator.previous_page_path }}" class="previous">Previous</a> | ||
{% endif %} | ||
<span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span> | ||
{% if paginator.next_page %} | ||
<a href="{{ paginator.next_page_path }}" class="next">Next</a> | ||
{% if paginator.next_page %} | ||
<a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">Older</a> | ||
{% else %} | ||
<span class="pagination-item older">Older</span> | ||
{% endif %} | ||
{% if paginator.previous_page %} | ||
{% if paginator.page == 2 %} | ||
<a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a> | ||
{% else %} | ||
<a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a> | ||
{% endif %} | ||
{% else %} | ||
<span class="pagination-item newer">Newer</span> | ||
{% endif %} | ||
</div> | ||
{% endif %} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.