forked from 18F/uswds-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sw-search-gov
- Loading branch information
Showing
33 changed files
with
249 additions
and
577 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
source "https://rubygems.org" | ||
gemspec :name => 'uswds-jekyll' | ||
|
||
group :jekyll_plugins do | ||
gem 'jekyll-last-modified-at' | ||
end |
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
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
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
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
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
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 @@ | ||
<div class="usa-grid"> | ||
Last updated: {{ page.last_modified_at | date: '%B %d, %Y at %I:%M %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
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,5 +1,5 @@ | ||
{% for link in include.links %} | ||
<li> | ||
<a href="{% if link.external == true %}{{ link.href }}{% else %}{{ link.href }}{% endif %}">{{ link.text }}</a> | ||
<a href="{% if link.external %}{{ link.href }}{% else %}{{ link.href }}{% endif %}">{{ link.text }}</a> | ||
</li> | ||
{% endfor %} |
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
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
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,8 +1,31 @@ | ||
|
||
.usa-sidenav-list { | ||
@include usa-sidenav-list; | ||
border-bottom: 1px solid; | ||
border-top: 1px solid; | ||
|
||
@include media($large-screen) { | ||
border-bottom: none; | ||
border-top: none; | ||
} | ||
|
||
.usa-grid & { | ||
@include margin(null (-$site-margins-mobile) null (-$site-margins-mobile)); | ||
|
||
@include media($medium-screen) { | ||
@include margin(null 0); | ||
} | ||
} | ||
} | ||
|
||
.usa-sidenav-sub_list { | ||
@include usa-sidenav-sublist; | ||
} | ||
|
||
.usa-layout-docs-sidenav { | ||
padding-top: 2.4rem; | ||
|
||
@include media($large-screen) { | ||
padding-top: 0; | ||
} | ||
} |
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
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
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
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,14 @@ | ||
--- | ||
--- | ||
|
||
{%- if site.anchor_js_targets -%} | ||
{%- assign _anchor_js_targets = site.anchor_js_targets -%} | ||
{%- assign _prepended_targets = '' | split: '' -%} | ||
{%- for _target in _anchor_js_targets -%} | ||
{%- assign _prepended_target = _target | prepend: '.usa-layout-docs ' -%} | ||
{%- assign _prepended_targets = _prepended_targets | push: _prepended_target -%} | ||
{%- endfor -%} | ||
|
||
// Adding anchor links to headers on docs layouts only | ||
anchors.add('{{ _prepended_targets | join: ', ' }}'); | ||
{%- endif -%} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.