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
0 parents
commit 1dc7e33
Showing
7,314 changed files
with
772,596 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,17 @@ | ||
## Welcome! | ||
|
||
We're so glad you're thinking about contributing to this open source project! If you're unsure about anything, just ask -- or submit the issue or pull request anyway. The worst that can happen is you'll be politely asked to change something. We love all friendly contributions. | ||
|
||
We encourage you to read this project's CONTRIBUTING policy (you are here), its [LICENSE](LICENSE.md), and its [README](README.md). | ||
|
||
If you have any questions just [shoot us an email](mailto:digitalservice@gsa.gov). | ||
|
||
## Public domain | ||
|
||
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](https://creativecommons.org/publicdomain/zero/1.0/). | ||
|
||
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. |
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 @@ | ||
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)](https://creativecommons.org/publicdomain/zero/1.0/legalcode). | ||
|
||
### 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. |
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,29 @@ | ||
# Modern Team Template for Federalist | ||
|
||
This is a Jekyll site. It is a simple site to showcase the work of an organization with a few different page types. | ||
|
||
This particular site is made for use with the [Federalist](https://github.com/18f/federalist) in mind. | ||
|
||
## 18F Open Source Policy | ||
|
||
This repository contains the official [Open Source Policy](policy.md) of [18F](https://18f.gsa.gov/) (a digital delivery team within the [General Services Administration](http://gsa.gov)). | ||
|
||
**[Read 18F's Open Source Policy.](policy.md)** | ||
|
||
### 18F Team Guidance | ||
|
||
For 18F team members, we have guidance on how 18F puts this policy into practice, and how we handle the narrow situations where we may delay or withhold the release of source code. | ||
|
||
**[18F's open source team practices.](practice.md)** | ||
|
||
### Credits | ||
|
||
This policy was originally forked from the [Consumer Financial Protection Bureau's policy](https://github.com/cfpb/source-code-policy). Thanks also to [@benbalter](https://github.com/benbalter) for his [insights regarding CFPB's initial policy](http://ben.balter.com/2012/04/10/whats-missing-from-cfpbs-awesome-new-source-code-policy/). | ||
|
||
### Public domain | ||
|
||
This project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md): | ||
|
||
> 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](https://creativecommons.org/publicdomain/zero/1.0/). | ||
> | ||
> 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. |
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,72 @@ | ||
# Site settings | ||
title: Open GSA | ||
description: Open source code, data and APIs from GSA. | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "https://example.gov" # the base hostname & protocol for your site | ||
logo: /assets/img/logo-main.gif | ||
feature_image: /assets/img/feature-background.jpg | ||
|
||
colors: | ||
background: '#ffffff' | ||
button: | ||
background: '#0071bc' | ||
hover: '#3e94cf' | ||
text: '#fff' | ||
headers: '#205493' | ||
text: '#212121' | ||
projects: | ||
accent: '#02bfe7' | ||
banner: | ||
background: '#112e51' | ||
text: '#fff' | ||
button: | ||
background: '#dce4ef' | ||
text: '#112e51' | ||
footer: | ||
background: '#323a45' | ||
text: '#fff' | ||
|
||
analytics: | ||
google: | ||
code: 'UA-48605964-32' # Change this to your GSA analytics code | ||
dap: | ||
agency: GSA # Change this to your agency | ||
subagency: Digital Service # Change this to your agency | ||
|
||
defaults: | ||
- | ||
scope: | ||
path: "" # an empty string here means all files in the project | ||
values: | ||
layout: | ||
- home | ||
- page | ||
- "project-list" | ||
- project | ||
|
||
forms: | ||
- type: newsletter | ||
heading: Sign up to receive updates from our team | ||
url: https://## | ||
button: Subscribe | ||
privacypolicy: Your privacy and security are important to us, we'll only share your information as described in the <a href="http://www.gsa.gov/portal/content/116609">GSA Privacy and Security Notice</a> | ||
fields: | ||
- type: email | ||
name: entry.1440502332 | ||
label: Email Address | ||
- type: hidden | ||
name: fbzx | ||
value: -7861934959779167198 | ||
|
||
footer: | ||
image: /assets/img/gsa-logo-dark.jpg | ||
email: | ||
twitter: | ||
- USGSA | ||
text: This site was built using <a href="https://federalist.18f.gov/" target="_blank">Federalist, from 18F</a>. # Change to a tag line for your agency | ||
|
||
# Build settings | ||
markdown: kramdown | ||
include: | ||
- _navigation.json | ||
exclude: [node_modules, gulpifle.js, CONTRIBUTING.md, LICENSE.md, README.md] |
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,36 @@ | ||
assigned: | ||
- | ||
text: Home | ||
href: pages/home.md | ||
permalink: / | ||
show_in_menu: false | ||
show_in_footer: false | ||
- | ||
text: About | ||
href: pages/about.md | ||
permalink: /about/ | ||
show_in_menu: true | ||
show_in_footer: false | ||
- | ||
text: Work | ||
href: pages/projects.md | ||
permalink: /projects/ | ||
show_in_menu: true | ||
show_in_footer: false | ||
children: | ||
- | ||
text: 'Microloans for Farmers' | ||
href: pages/projects/microloans-for-farmers.md | ||
show_in_menu: false | ||
show_in_footer: false | ||
- | ||
text: 'Reducing Summer Melt' | ||
href: pages/projects/reducing-summer-melt.md | ||
show_in_menu: false | ||
show_in_footer: false | ||
- | ||
text: 'Project data' | ||
href: _data/projects.yml | ||
show_in_menu: false | ||
show_in_footer: false | ||
unassigned: [] |
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 @@ | ||
- title: Microloans for Farmers | ||
description: A new letter increases farmers' access to credit by 22%. | ||
link: /projects/microloans-for-farmers/ | ||
image: /assets/img/project-icons/tractor.png | ||
- title: Reducing Summer Melt | ||
description: Eight personalized text messages to low-income students resulted in a nearly 9% increase in college enrollment. | ||
link: /projects/reducing-summer-melt/ | ||
image: /assets/img/project-icons/graduation.png | ||
- title: Servicemember TSP Enrollment | ||
description: A single email to military Servicemembers nearly doubled the rate of enrollment for a savings plan. | ||
link: /projects/tsp-enrollment/ | ||
image: /assets/img/project-icons/piggy-bank.png |
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,36 @@ | ||
<section class="banner contact"> | ||
<div class="usa-grid"> | ||
{% for form in site.forms %} | ||
{% if form.type == 'newsletter' %} | ||
{% assign f = form %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<form id="contact" action="{{ f.url }}" method="POST"> | ||
<fieldset> | ||
<legend>{{ f.heading }}</legend> | ||
<div class="usa-width-one-half"> | ||
{% for field in f.fields %} | ||
{% unless field.type == 'hidden' %}<label for="contact-{{ field.name }}">{{ field.label }}</label>{% endunless %} | ||
<input id="contact-{{ field.name }}" | ||
name="{{ field.name }}" type="{{ field.type }}" | ||
{% if field.value %} value="{{ field.value }}" {% endif %}> | ||
{% endfor %} | ||
<div class="usa-input-buttons-inline"> | ||
<input type="submit" value="{{ f.button }}"> | ||
</div> | ||
</div> | ||
<div class="usa-width-one-half" style="margin-top: 3rem;"> | ||
{% if f.privacypolicy %} | ||
<p>{{ f.privacypolicy }}</p> | ||
{% else %} | ||
<p></p> | ||
{% endif %} | ||
</div> | ||
|
||
|
||
</fieldset> | ||
|
||
</form> | ||
</div> | ||
</section> |
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,32 @@ | ||
<footer class="usa-footer usa-footer-medium usa-sans" role="contentinfo"> | ||
|
||
<div class="usa-footer-secondary_section"> | ||
<div class="usa-grid"> | ||
<div class="usa-footer-logo usa-width-one-half"> | ||
{% if site.footer.image %} | ||
<img class="usa-footer-logo-img" src="{{ site.footer.image | prepend: site.baseurl }}" alt="Logo image"> | ||
{% endif %} | ||
{% if site.footer.text %} | ||
<p>{{ site.footer.text }}</p> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="usa-footer-contact-links usa-width-one-half"> | ||
|
||
<address> | ||
{% if site.footer.name %} | ||
<h3 class="usa-footer-contact-heading">{{ site.footer.name }}</h3> | ||
{% endif %} | ||
{% if site.footer.phonenumber %} | ||
<p><a href="tel:{{ site.footer.phonenumber }}">{{ site.footer.phonenumber }}</a></p> | ||
{% endif %} | ||
<p><a href="mailto:{{ site.footer.email }}">{{ site.footer.email }}</a></p> | ||
{% for twitter in site.footer.twitter %} | ||
<a href="https://twitter.com/{{ twitter }}" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @{{ twitter }}</a> | ||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> | ||
{% endfor %} | ||
</address> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
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,32 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>{% if page.title %}{{ page.title }} | {{ site.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 %}"> | ||
|
||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}" /> | ||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}"> | ||
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<meta name="twitter:card" content="summary_large_image"> | ||
{% if site.feature_image %}<meta property="og:image" content="{{ site.feature_image | prepend: site.baseurl | prepend: site.url }}">{% endif %} | ||
{% if site.feature_image %}<meta name="twitter:image" content="{{ site.feature_image | prepend: site.baseurl | prepend: site.url }}">{% endif %} | ||
<meta property="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
<meta name="twitter:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
|
||
<link rel="stylesheet" href="{{ '/assets/css/google-fonts.css' | prepend: site.baseurl }}"> | ||
<link rel="stylesheet" href="{{ '/assets/css/usfwds.css' | prepend: site.baseurl }}"> | ||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl }}"> | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="{{ '/assets/img/favicon.ico' | 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 }}" /> | ||
<script> | ||
if (/^www\./.test(window.location.hostname)) { | ||
window.location = window.location.href.replace('www.', ''); | ||
} | ||
</script> | ||
</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 @@ | ||
<div class="skip-nav"> | ||
<a href="#main" class="skips">Skip to main content</a> | ||
</div> | ||
|
||
<header class="usa-site-header" role="banner"> | ||
<div class="usa-disclaimer"> | ||
<div class="usa-grid"> | ||
<span class="usa-disclaimer-official">An official website of the United States Government | ||
<img alt="US flag signifying that this is a United States Federal Government website" src="{{ '/assets/img/us_flag_small.png' | prepend: site.baseurl }}"> | ||
</span> | ||
<!-- <span class="usa-disclaimer-stage">This site is currently in alpha. <a href="https://18f.gsa.gov/dashboard/stages/#alpha">Learn more.</a></span> --> | ||
</div> | ||
</div> | ||
<nav class="usa-site-navbar"> | ||
<div class="usa-grid"> | ||
<div id="logo"> | ||
<a href="{{ site.baseurl }}/" accesskey="1" title="Home" aria-label="Home"> | ||
{% if site.logo %} | ||
<img src="{{ site.logo | prepend: site.baseurl }}" alt="{{ site.title }}"> | ||
{% else %} | ||
<h1 class="usa-header-title">{{ site.title }}</h1> | ||
{% endif %} | ||
</a> | ||
</div> | ||
<ul class="usa-nav-list usa-unstyled-list"> | ||
{% assign navs = site.data.navbar.assigned %} | ||
|
||
{% for nav in navs %} | ||
{% if nav.show_in_menu %} | ||
<li class="usa-menu-item"> | ||
<a href="{{ nav.permalink | prepend: site.baseurl }}">{{ nav.text }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</nav> | ||
</header> |
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 @@ | ||
<script src="{{ '/assets/js/lib/jquery-1.11.3.min.js' | prepend: site.baseurl }}"></script> | ||
<script src="{{ '/assets/js/index.js' | prepend: site.baseurl }}"></script> | ||
|
||
<!-- | ||
analytics for DAP, for more info visit | ||
https://www.digitalgov.gov/services/dap/ | ||
--> | ||
<script src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency={{ site.analytics.dap.agency}}&subagency={{ site.analytics.dap.subagency }}" | ||
id="_fed_an_ua_tag"></script> | ||
|
||
<!-- | ||
analytics for 18F guild, for more info visited | ||
https://github.com/18f/analytics-standards | ||
--> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ site.analytics.google.code }}', 'auto'); | ||
ga('set', 'anonymizeIp', true); | ||
ga('set', 'forceSSL', true); | ||
ga('send', 'pageview'); | ||
</script> |
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,15 @@ | ||
{% for project in site.data.projects %} | ||
{% unless project.featured %} | ||
{% assign third = forloop.index | modulo: 3 %} | ||
{% if third == 1 %} | ||
<div class="usa-width-one-third usa-end-row project"> | ||
{% else %} | ||
<div class="usa-width-one-third project"> | ||
{% endif %} | ||
<a href="{{ project.link | prepend: site.baseurl }}"> | ||
<span class="project--image" style="background-image: url({{ project.image | prepend: site.baseurl }});"></span> | ||
<h3 class="project--description"><span>{{ project.description }} ></span></h3> | ||
</a> | ||
</div> | ||
{% endunless %} | ||
{% endfor %} |
Oops, something went wrong.