Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
Initial commit
  • Loading branch information
V David Zvenyach committed May 30, 2015
0 parents commit eb9bb88650df05704178c4ed57e1c624ffa807fc
@@ -0,0 +1,4 @@
@@ -0,0 +1,3 @@
source ''

gem 'jekyll'
@@ -0,0 +1,70 @@
blankslate (
celluloid (0.16.0)
timers (~> 4.0.0)
classifier-reborn (2.0.3)
fast-stemmer (~> 1.0)
coffee-script (2.4.1)
coffee-script-source (
colorator (0.1)
execjs (2.5.2)
fast-stemmer (1.0.2)
ffi (1.9.8)
hitimes (1.2.2)
jekyll (2.5.3)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-gist (1.2.1)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-watch (1.2.1)
listen (~> 2.7)
kramdown (1.6.0)
liquid (2.6.2)
listen (2.10.0)
celluloid (~> 0.16.0)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
mercenary (0.3.5)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
pygments.rb (0.6.3)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.2.3)
safe_yaml (1.0.4)
sass (3.4.13)
timers (4.0.1)
toml (0.1.2)
parslet (~> 1.5.0)
yajl-ruby (1.2.1)


@@ -0,0 +1,32 @@
As a work of the United States Government, this project is in the
public domain within the United States.

Additionally, we waive copyright and related rights in the work
worldwide through the CC0 1.0 Universal public domain dedication.

## CC0 1.0 Universal Summary

This is a human-readable summary of the
[Legal Code (read the full text)](

### No Copyright

The person who associated a work with this deed has dedicated the work to
the public domain by waiving all of his or her rights to the work worldwide
under copyright law, including all related and neighboring rights, to the
extent allowed by law.

You can copy, modify, distribute and perform the work, even for commercial
purposes, all without asking permission.

### Other Information

In no way are the patent or trademark rights of any person affected by CC0,
nor are the rights that other persons may have in the work or in how the
work is used, such as publicity or privacy rights.

Unless expressly stated otherwise, the person who associated a work with
this deed makes no warranties about the work, and disclaims liability for
all uses of the work, to the fullest extent permitted by applicable law.
When using or citing the work, you should not imply endorsement by the
author or the affirmer.
@@ -0,0 +1,65 @@
## 18F Guides Template

This is a skeleton repo containing the
[Jekyll]( template for
[18F Guides](

### Generating the site/hosting locally

You will need [Ruby]( ( > version 2.1.5 ). You may
consider using a Ruby version manager such as
[rbenv]( or [rvm]( to
help ensure that Ruby version upgrades don't mean all your
[gems]( will need to be rebuilt.

On OS X, you can use [Homebrew]( to install Ruby in
`/usr/local/bin`, which may require you to update your `$PATH` environment

$ brew update
$ brew install ruby

To create a new guide and serve it locally, where `MY-NEW-GUIDE` is the name
of your new repository:

$ git clone MY-NEW-GUIDE
$ ./go init
$ ./go serve

This will check that your Ruby version is supported, install the [Bundler
gem]( if it is not yet installed, install all the gems
needed by the template, and launch a running instance on
`http://localhost:4000/guide/`. (Make sure to include the trailing slash! The built-in
Jekyll webserver doesn't redirect to it.) That page contains further
instructions on how to adapt the template to a new guide repository.

After going through these steps, run `./go` to see a list of available
commands. The `serve` command is the most common for routine development.

You'll need to create a new Github repository for your new guide. To do this, go to and click the "New Repository" button. Enter the title and description for your new guide and then click "Create Repository".

After the repository is created, you'll see the repo URL at the top. Copy this url by hitting the handy "Copy to Clipboard" button next to the text box.

Go back to the directory where you cloned the guides-template repository. We're going to change this repo to point to the one you just created (which is empty) and push the template to it.
git remote set-url origin
git push origin 18f-pages

Now you can edit the template freely, and push up changes as you need.

### Public domain

This project is in the worldwide [public domain]( As stated in [CONTRIBUTING](

> This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](
> All contributions to this project will be released under the CC0
>dedication. By submitting a pull request, you are agreeing to comply
>with this waiver of copyright interest.
@@ -0,0 +1,44 @@
baseurl: /guides-template
markdown: redcarpet
name: Agile Delivery Services Blanket Purchase Agreement
- go
- copy-template
- Gemfile
- Gemfile.lock

permalink: pretty

# Author/Organization info to be displayed in the templates
name: 18F

# Point the logo URL at a file in your repo or hosted elsewhere by your organization
logourl: /assets/img/18f-logo.png
logoalt: 18F logo

# Navigation
# List links that should appear in the site sidebar here
- text: Introduction
url: index.html
internal: true
- text: Templates and Documents
url: templates-documents/
internal: true
- text: Contact 18F
url: contact-18f/
internal: true

- name: Agile Delivery Services BPA Guide
description: Main repository

# Style Variables
brand_color: "#1188ff"

google_analytics_ua: UA-48605964-19
@@ -0,0 +1,16 @@
<!-- Google Analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
ga('create', '{{ site.google_analytics_ua }}', '');

// anonymize user IPs (chops off the last IP triplet)
ga('set', 'anonymizeIp', true);

ga('send', 'pageview');

<!-- Digital Analytics Program roll-up, see for data -->
<script id="_fed_an_ua_tag" src="" async></script>
@@ -0,0 +1,8 @@
<footer role="contentinfo">
<div class="wrap">
<p>This project is maintained by <a href="{{ }}">{{ }}</a>.</p>

<p>Hosted on <a href="">18F Pages</a>.</p>
<p><a href="{{ site.repos[0].url }}/edit/18f-pages/{{ page.path }}">Edit this page on GitHub</a></p>
</div><!--/.wrap -->
@@ -0,0 +1,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>{{ page.title }} - {{ }}</title>
<meta name="viewport" content="width=device-width">
<link href='//,700%7COpen+Sans:300,600' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/custom.css">
<!--[if lt IE 9]>
<script src="{{ site.baseurl }}/assets/js/html5shiv.js"></script>
<script src="{{ site.baseurl }}/assets/js/respond.js"></script>
@@ -0,0 +1,62 @@
<script src="//"></script>
<script src="//"></script>
{% if page.title == "Keyboard Access" %}
<script type="text/javascript">
{% endif %}

{% if page.title == "Flashing" %}
<script type="text/javascript">
var blinking = false,
$blink = $('.blink');
if (!blinking){
$('#blinkbutton').html('Click to stop blinking');
interval = setInterval(function(){
blinking = true;
$('#blinkbutton').html('Click to see non-compliant flashing');
blinking = false;

{% endif %}
{% if page.title == "Time Outs" %}
<script type="text/javascript">
var timer;
$('#pForm input').on('input',function(){
if (timer)
timer = setTimeout(function(){
var c = confirm('Would you like more time to complete the form?'),
if(c == true)
}, 2000);
{% endif %}
@@ -0,0 +1,19 @@
<p class="intro">{{ site.subtitle }}</p>
<a class="skip-link visuallyhidden focusable" href="#main">Skip to Main Content</a>
<nav class="sidebar-nav" role="navigation">
{% for link in site.navigation %}
{% if link.internal == true %}
<li {% if page.title == link.text %}class="sidebar-nav-active"{% endif %}>
<a href="{{ site.baseurl }}/{{ link.url }}" {% if page.title == link.text %}title='Selected'{% endif %}>{{ link.text }}</a>
{% else %}
<li {% if page.title == link.text %}class="sidebar-nav-active"{% endif %}>
<a href="{{ link.url }}" {% if page.title == link.text %}title='Selected'{% endif %}>{{ link.text }}</a>
{% endif %}
{% endfor %}
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang='en'>

{% include header.html %}


<div class="container">

<header role="banner">

<div class="wrap">
{% if site.logourl != null %}
<img class="logo" src="{{ site.baseurl }}{{ site.logourl }}" alt="{{ site.logoalt }}" width="75px">
{% endif %}
<h1 class="site-title"><a class="title-link" href="{{ site.baseurl }}/">{{ }}</a></h1>


<div class="wrap content">

{% include sidebar.html %}

<section id="main" class="main-content" role="main">
<h1>{{ page.title }}</h1>
{{ content }}

</div><!-- /.wrap content -->

{% include footer.html%}

</div> <!-- /.container -->

{% include analytics.html %}
{% include scripts.html %}


@@ -0,0 +1,7 @@
{{ content }}

0 comments on commit eb9bb88

Please sign in to comment.