Skip to content

Commit

Permalink
Adds changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
humancompanion-usds committed Jul 2, 2019
1 parent a755876 commit decee56
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 25 deletions.
48 changes: 25 additions & 23 deletions _includes/_breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<div id="breadcrumbs" class="chp-breadcrumb">
<ul vocab="http://schema.org" typeof="BreadcrumbList" class="chp-breadcrumb__list">
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
<li class="chp-breadcrumb__item" property="itemListElement" typeof="ListItem">
<a class="chp-breadcrumb__link" property="item" typeof="WebPage" href="/">
Home
</a>
</li>
{% for crumb in crumbs offset: 1 %}
{% assign position = position | plus: 1 %}
{% if forloop.last %}
/ {{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}
{% else %}
<li class="chp-breadcrumb__item" property="itemListElement" typeof="ListItem">
/ <a class="chp-breadcrumb__link" property="item" typeof="WebPage" href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">
<span property="name" typeof="WebPage">
{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}
</span>
<meta property="position" content="{{ position }}">
</a>
</li>
{% endif %}
{% endfor %}
</ul>
<div class="chp-breadcrumb__body">
<ul vocab="http://schema.org" typeof="BreadcrumbList" class="chp-breadcrumb__list">
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
<li class="chp-breadcrumb__item" property="itemListElement" typeof="ListItem">
<a class="chp-breadcrumb__link" property="item" typeof="WebPage" href="/">
Home
</a>
</li>
{% for crumb in crumbs offset: 1 %}
{% assign position = position | plus: 1 %}
{% if forloop.last %}
/ {{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}
{% else %}
<li class="chp-breadcrumb__item" property="itemListElement" typeof="ListItem">
/ <a class="chp-breadcrumb__link" property="item" typeof="WebPage" href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">
<span property="name" typeof="WebPage">
{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}
</span>
<meta property="position" content="{{ position }}">
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
5 changes: 5 additions & 0 deletions _includes/_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<footer class="chp-footer">
<div class="chp-footer__body">
<a href="{{site.baseurl}}/changelog/">Read our change log to see what has changed on this site.</a>
</div>
</footer>
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<main id="main-content" role="main" class="margin-bottom-9">
{{ content }}
</main>
{% include _footer.html %}

<script src="{{ site.baseurl }}/assets/js/uswds.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/shims/svg4everybody.js"></script>
Expand Down
10 changes: 10 additions & 0 deletions _scss/_uswds-theme-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ blockquote {
.chp-breadcrumb {
border-bottom: 1px solid color('gray-cool-10');

&__body {
@include grid-container();
}

.chp-breadcrumb &__list {
display: block;
list-style-type: none;
Expand Down Expand Up @@ -356,3 +360,9 @@ blockquote {
margin: units(2) 0;
}
}

.chp-footer {
&__body {
@include grid-container();
}
}
2 changes: 1 addition & 1 deletion assets/stylesheets/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/stylesheets/styles.css.map

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions pages/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: article
section: changelog
permalink: /changelog/
---

ll notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

<!-- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) -->

## [1.0.0](https://github.com/labopm/competitive-hiring-pilot/releases) - 2019-07-02
### Added
- This changelog!
- Breadcrumbs on hiring phase pages.
- New toolkit content.

### Changed
- Revised the getting started, job analysis, job announcement, and reviewing resumes pages.
- Moved metadata on top of toolkit
- Updated all intro text in hiring phases.

### Removed
- Links to role-specific index pages as the content there is out-of-date.

0 comments on commit decee56

Please sign in to comment.