Skip to content

1.1: update site's extensions page + announce release date #1328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs: add homepage announcement support + announce v1.1 RC
  • Loading branch information
ethanresnick committed Dec 2, 2018
commit de11f01de7c8ef16a0ecebd5aacd8419510b0081
6 changes: 5 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ kramdown:
math_engine: mathjax # cannot customize
syntax_highligher: rouge # cannot customize

gems:
plugins:
- jekyll-redirect-from

exclude:
Expand Down Expand Up @@ -79,6 +79,10 @@ defaults:

latest_version: 1.0
excerpt_separator: ""
announcement: |
**[JSON:API v1.1 RC1](/format/1.1/) has been published!** Please review and
try out this upcoming version of the spec before its planned release date of
January 31, 2019.

navigation:
- title: JSON API
Expand Down
5 changes: 5 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ <h2>A specification for building APIs in JSON</h2>
<a href="{{link.url}}" title="{{link.title}}">{{link.title}}</a>
{% endfor %}
</div>
{% if site.announcement %}
<div class="announcement">
{{ site.announcement|markdownify }}
</div>
{% endif %}
</div>
</header>
{% endif %}
Expand Down
14 changes: 12 additions & 2 deletions stylesheets/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions stylesheets/all.sass
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ address

header
.content
padding: 29px $page-padding 41px
padding: 32px $page-padding 41px
background: $color-masthead
border-bottom: 1px solid $color-light-rule

Expand All @@ -215,7 +215,7 @@ header

h2
text-align: center
margin: 15px 0 40px 0
margin: 17px 0 37px 0
padding: 0
left: 0
font-size: 124%
Expand All @@ -238,6 +238,18 @@ header
text-decoration: none
text-align: center

.announcement
margin: 22px auto 0
max-width: 38em
text-align: center
position: relative
top: 15px // intentionally eat into parent's padding-bottom
color: $color-main

*
color: inherit
margin: 0

@media screen and (max-width: $mobile-breakpoint)
.content
padding-top: 20px
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy