-
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.
Moving doscmith/templates/init into its own repo
- Loading branch information
0 parents
commit 2fa140c
Showing
27 changed files
with
1,358 additions
and
0 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 @@ | ||
ruby-2.2.1 |
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,7 @@ | ||
--- | ||
layout: default | ||
title: "404: Page not found" | ||
permalink: 404.html | ||
--- | ||
|
||
<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> |
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,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "github-pages", "~> 15" |
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,129 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
RedCloth (4.2.9) | ||
activesupport (4.2.5.1) | ||
i18n (~> 0.7) | ||
json (~> 1.7, >= 1.7.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
addressable (2.3.8) | ||
coffee-script (2.4.1) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.10.0) | ||
colorator (0.1) | ||
ethon (0.8.1) | ||
ffi (>= 1.3.0) | ||
execjs (2.6.0) | ||
faraday (0.9.2) | ||
multipart-post (>= 1.2, < 3) | ||
ffi (1.9.10) | ||
gemoji (2.1.0) | ||
github-pages (48) | ||
RedCloth (= 4.2.9) | ||
github-pages-health-check (= 0.6.1) | ||
jekyll (= 3.0.3) | ||
jekyll-coffeescript (= 1.0.1) | ||
jekyll-feed (= 0.3.1) | ||
jekyll-gist (= 1.4.0) | ||
jekyll-mentions (= 1.0.0) | ||
jekyll-paginate (= 1.1.0) | ||
jekyll-redirect-from (= 0.9.1) | ||
jekyll-sass-converter (= 1.3.0) | ||
jekyll-seo-tag (= 1.0.0) | ||
jekyll-sitemap (= 0.10.0) | ||
jekyll-textile-converter (= 0.1.0) | ||
jemoji (= 0.5.1) | ||
kramdown (= 1.9.0) | ||
liquid (= 3.0.6) | ||
mercenary (~> 0.3) | ||
rdiscount (= 2.1.8) | ||
redcarpet (= 3.3.3) | ||
rouge (= 1.10.1) | ||
terminal-table (~> 1.4) | ||
github-pages-health-check (0.6.1) | ||
addressable (~> 2.3) | ||
net-dns (~> 0.8) | ||
public_suffix (~> 1.4) | ||
typhoeus (~> 0.7) | ||
html-pipeline (2.3.0) | ||
activesupport (>= 2, < 5) | ||
nokogiri (>= 1.4) | ||
i18n (0.7.0) | ||
jekyll (3.0.3) | ||
colorator (~> 0.1) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.3) | ||
liquid (~> 3.0) | ||
mercenary (~> 0.3.3) | ||
rouge (~> 1.7) | ||
safe_yaml (~> 1.0) | ||
jekyll-coffeescript (1.0.1) | ||
coffee-script (~> 2.2) | ||
jekyll-feed (0.3.1) | ||
jekyll-gist (1.4.0) | ||
octokit (~> 4.2) | ||
jekyll-mentions (1.0.0) | ||
html-pipeline (~> 2.2) | ||
jekyll (~> 3.0) | ||
jekyll-paginate (1.1.0) | ||
jekyll-redirect-from (0.9.1) | ||
jekyll (>= 2.0) | ||
jekyll-sass-converter (1.3.0) | ||
sass (~> 3.2) | ||
jekyll-seo-tag (1.0.0) | ||
jekyll (>= 2.0) | ||
jekyll-sitemap (0.10.0) | ||
jekyll-textile-converter (0.1.0) | ||
RedCloth (~> 4.0) | ||
jekyll-watch (1.3.1) | ||
listen (~> 3.0) | ||
jemoji (0.5.1) | ||
gemoji (~> 2.0) | ||
html-pipeline (~> 2.2) | ||
jekyll (>= 2.0) | ||
json (1.8.3) | ||
kramdown (1.9.0) | ||
liquid (3.0.6) | ||
listen (3.0.6) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9.7) | ||
mercenary (0.3.5) | ||
mini_portile2 (2.0.0) | ||
minitest (5.8.4) | ||
multipart-post (2.0.0) | ||
net-dns (0.8.0) | ||
nokogiri (1.6.7.2) | ||
mini_portile2 (~> 2.0.0.rc2) | ||
octokit (4.2.0) | ||
sawyer (~> 0.6.0, >= 0.5.3) | ||
public_suffix (1.5.3) | ||
rb-fsevent (0.9.7) | ||
rb-inotify (0.9.7) | ||
ffi (>= 0.5.0) | ||
rdiscount (2.1.8) | ||
redcarpet (3.3.3) | ||
rouge (1.10.1) | ||
safe_yaml (1.0.4) | ||
sass (3.4.21) | ||
sawyer (0.6.0) | ||
addressable (~> 2.3.5) | ||
faraday (~> 0.8, < 0.10) | ||
terminal-table (1.5.2) | ||
thread_safe (0.3.5) | ||
typhoeus (0.8.0) | ||
ethon (>= 0.8.0) | ||
tzinfo (1.2.2) | ||
thread_safe (~> 0.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
github-pages | ||
|
||
BUNDLED WITH | ||
1.10.6 |
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,3 @@ | ||
# Welcome to your Content as Code website! | ||
|
||
**Content as Code** is an approach to develop workflows and technology to improve content re-use and maintainability. |
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,82 @@ | ||
# Dependencies | ||
|
||
markdown: kramdown | ||
# markdown: redcarpet | ||
|
||
# Permalinks | ||
permalink: pretty | ||
|
||
# Setup | ||
title: Content as Code | ||
tagline: 'Developing workflows and technology to improve content re-use and maintainability.' | ||
description: 'Developing workflows and technology to improve content re-use and maintainability.' | ||
url: http://USER.github.io | ||
baseurl: /REPO | ||
|
||
author: | ||
name: 'Your Name' | ||
url: https://twitter.com/yourtwitter | ||
|
||
defaults: | ||
- | ||
scope: | ||
path: "" # an empty string here means all files in the project | ||
values: | ||
layout: "default" | ||
|
||
kramdown: | ||
input: GFM | ||
auto_ids: true | ||
footnote_nr: 1 | ||
entity_output: as_char | ||
toc_levels: 1..3 | ||
enable_coderay: false | ||
|
||
redcarpet: | ||
extensions: ["tables", "autolink", "strikethrough", "space_after_headers", "with_toc_data", "fenced_code_blocks", "lax_spacing", "smart"] | ||
|
||
github: | ||
repo: https://github.com/USER/REPO | ||
|
||
|
||
gems: | ||
- jekyll-sitemap | ||
- jekyll-gist | ||
|
||
# jekyll-travis | ||
|
||
# Settings for deploy rake task | ||
# Username and repo of Github repo, e.g. | ||
# https://github.com/OWNER/REPO.git | ||
# username is user linked to the personal access token for pushing to the github-pages branch | ||
# ownner is the user or organisation for the project. | ||
# repo is the name of the repo for the project. | ||
# Branch defaults to "source" for OWNER.github.io | ||
# or "master" otherwise | ||
|
||
username: USER | ||
owner: ORG | ||
repo: REPO | ||
|
||
# branch: source | ||
|
||
# Settings for deploy rake task | ||
# This destination folder is probably not necessary and we should either migrate out of jekyll-travis | ||
# (which might be a good idea to avoid rake+metalsmith+...) or submit a pull request to default this to | ||
# a temp folder of some sort. | ||
|
||
destination: ../build | ||
|
||
safe: false | ||
lsi: false | ||
# pygments: true | ||
|
||
exclude: | ||
- README.md | ||
- Rakefile | ||
- Gemfile | ||
- Gemfile.lock | ||
- changelog.md | ||
- "*.Rmd" | ||
- vendor | ||
- .travis.yml |
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,2 @@ | ||
source: . | ||
implementation: 'docsmith' |
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,31 @@ | ||
<head> | ||
<link href="http://gmpg.org/xfn/11" rel="profile"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
|
||
<!-- Enable responsiveness on mobile devices--> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
<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/hyde.css"> | ||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> | ||
|
||
<!-- Icons --> | ||
<!-- | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png"> | ||
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico"> --> | ||
<link rel="icon" type="image/svg+xml" href="images/icon.svg"> | ||
|
||
<!-- RSS --> | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/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,35 @@ | ||
<div class="sidebar"> | ||
<div class="container sidebar-sticky"> | ||
<div class="sidebar-about"> | ||
<h1> | ||
<a href="{{ site.baseurl }}"> | ||
{{ site.title }} | ||
</a> | ||
</h1> | ||
<p class="lead">{{ 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 %} | ||
{% 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="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a> | ||
|
||
</nav> | ||
|
||
<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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include sidebar.html %} | ||
|
||
<div class="content container"> | ||
|
||
<div> | ||
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %} | ||
<small> | ||
<div style="float:left"><a href="{{ site.baseurl }}/">Home</a> | ||
{% for crumb in crumbs offset: 1 %} | ||
{% if forloop.last %} | ||
/ {{ crumb | replace:'-',' ' | remove:'.html' | capitalize }} | ||
{% else %} | ||
/ <a href="{{ site.baseurl }}{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a> | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
|
||
<div style="float:right"><em><a href="{{site.github.repository_url}}/edit/master/{{page.path}}">Edit this page</a> - <a href="{{site.github.repository_url}}/commits/master/{{page.path}}">View page history</a> - <a href="{{site.github.repository_url}}/tree/master/{{page.path}}">View page source</a></em> | ||
</div> | ||
</small> | ||
</div> | ||
|
||
<div class="page" style="clear:both"> | ||
<h1 class="page-title">{{ page.title }}</h1> | ||
{{ content }} | ||
</div> | ||
|
||
</div> | ||
|
||
</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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{{ content }} |
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,25 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<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="{{ 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: post | ||
title: What's Jekyll? | ||
--- | ||
|
||
[Jekyll](http://jekyllrb.com) is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From [the project's readme](https://github.com/mojombo/jekyll/blob/master/README.markdown): | ||
|
||
> Jekyll is a simple, blog aware, static site generator. It takes a template directory [...] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub. | ||
It's an immensely useful tool and one we encourage you to use here with Hyde. | ||
|
||
Find out more by [visiting the project on GitHub](https://github.com/mojombo/jekyll). |
Oops, something went wrong.