diff --git a/404.html b/404.html new file mode 100644 index 000000000..755cbd769 --- /dev/null +++ b/404.html @@ -0,0 +1,4 @@ +--- +layout: 2017/not_found +--- +This cheatsheet doesn't exist. diff --git a/_includes/2017/top-nav.html b/_includes/2017/top-nav.html index 2e6342066..e5b69d227 100644 --- a/_includes/2017/top-nav.html +++ b/_includes/2017/top-nav.html @@ -8,18 +8,20 @@ Rico's cheatsheets -
- {% include social-list.html class="social page-actions" page=include.page %} + {% unless include.noshare %} +
+ {% include social-list.html class="social page-actions" page=include.page %} - {% if include.page.type != 'website' %} - - {% endif %} -
+ {% if include.page.type != 'website' %} + + {% endif %} +
+ {% endunless %} diff --git a/_layouts/2017/not_found.html b/_layouts/2017/not_found.html new file mode 100644 index 000000000..9b1c0b6ae --- /dev/null +++ b/_layouts/2017/not_found.html @@ -0,0 +1,31 @@ +--- +type: website +permalink: /404.html +--- +{% include 2017/head.html %} +{% include 2017/top-nav.html page=page noshare=true %} + +
+ +
+ +{% include 2017/foot.html %} diff --git a/_sass/2017/components/site-header.scss b/_sass/2017/components/site-header.scss index cddd19c88..2ac0bc1a1 100644 --- a/_sass/2017/components/site-header.scss +++ b/_sass/2017/components/site-header.scss @@ -24,4 +24,8 @@ & > .search { margin-top: 32px; } + + & > .action { + margin-top: 32px; + } }