Skip to content
This repository was archived by the owner on Nov 22, 2017. It is now read-only.

Commit a8225be

Browse files
author
Sophie Shepherd
committed
add layout to notices
1 parent 684ad16 commit a8225be

File tree

6 files changed

+56
-16
lines changed

6 files changed

+56
-16
lines changed

_layouts/article-alt.html

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: default
3+
---
4+
5+
<nav class="main-nav">
6+
<div class="container-lg edged mx-auto clearfix">
7+
<div class="float-sm-right">
8+
<ul class="main-links border-left border-bottom border-sm-0 list-style-none">
9+
<li class="d-inline-block border-right">
10+
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide#open-source-guides">About</a>
11+
</li>
12+
<li class="d-inline-block border-right">
13+
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide/blob/gh-pages/CONTRIBUTING.md">Contribute</a>
14+
</li>
15+
<li class="d-inline-block border-right">
16+
<a class="d-block p-3 p-sm-4" href="">{% octicon search height:16 class:"mr-2 fill-gray" aria-label:hi %}Search</a>
17+
</li>
18+
</ul>
19+
</div>
20+
<div class="float-sm-left pl-3 breadcrumb">
21+
<p class="my-0 py-3 py-sm-4 text-gray">
22+
<a href="{{ site.baseurl }}" class="text-gray">Open Source Guides</a> /
23+
</p>
24+
</div>
25+
</div>
26+
</nav>
27+
28+
<header class="bg-gray-light">
29+
<div class="container-lg mx-auto px-3">
30+
<h1 class="alt-h1 lh-condensed text-center my-6 py-md-6">{{ page.title }}</h1>
31+
<p class="lead text-center text-gray col-md-8 mx-auto mb-4 position-relative">{{ page.description }}</p>
32+
</div>
33+
</header>
34+
35+
<article class="pb-md-6">
36+
<div class="article-body mx-auto px-3 pt-4 pt-lg-6 pb-6 col-md-10 col-lg-8 col-xl-6">
37+
{{ content }}
38+
</div>
39+
</article>
40+
41+
{% include footer.html %}

_layouts/article.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="float-sm-right">
88
<ul class="main-links border-left border-bottom border-sm-0 list-style-none">
99
<li class="d-inline-block border-right">
10-
<a class="d-block p-3 p-sm-4" href="">About</a>
10+
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide#open-source-guides">About</a>
1111
</li>
1212
<li class="d-inline-block border-right">
1313
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide/blob/gh-pages/CONTRIBUTING.md">Contribute</a>
@@ -19,7 +19,7 @@
1919
</div>
2020
<div class="float-sm-left pl-3 breadcrumb">
2121
<p class="my-0 py-3 py-sm-4 text-gray">
22-
<a href="" class="text-gray">Open Source Guides</a> /
22+
<a href="{{ site.baseurl }}" class="text-gray">Open Source Guides</a> /
2323
</p>
2424
</div>
2525
</div>

_layouts/landing.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
22
<html>
33
{% include head.html %}
4-
<body class="bg-squares">
5-
<div class="site-wrapper">
4+
<body class="">
5+
<div class="">
66
{{ content }}
77
</div>
88
</body>

assets/css/custom.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ blockquote {
185185
}
186186
}
187187

188-
ul {
188+
ul, ol {
189189
padding-left: 1em;
190190
margin-bottom: $spacer-3;
191191
}

home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="float-sm-right">
99
<ul class="main-links border-left border-bottom border-sm-0 list-style-none">
1010
<li class="d-inline-block border-right">
11-
<a class="d-block p-3 p-sm-4" href="">About</a>
11+
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide#open-source-guides">About</a>
1212
</li>
1313
<li class="d-inline-block border-right">
1414
<a class="d-block p-3 p-sm-4" href="https://github.com/github/open-source-guide/blob/gh-pages/CONTRIBUTING.md">Contribute</a>

notices.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
layout: article-alt
23
title: Legal Disclaimer and Notices
34
---
45

@@ -34,16 +35,14 @@ Screenshots are used with permissions below.
3435
> Redistribution and use in source and binary forms, with or without modification,
3536
> are permitted provided that the following conditions are met:
3637
>
37-
> 1. Redistributions of source code must retain the above copyright notice,
38-
> this list of conditions and the following disclaimer.
39-
>
40-
> 2. Redistributions in binary form must reproduce the above copyright
41-
> notice, this list of conditions and the following disclaimer in the
42-
> documentation and/or other materials provided with the distribution.
43-
>
44-
> 3. Neither the name of Django nor the names of its contributors may be used
45-
> to endorse or promote products derived from this software without
46-
> specific prior written permission.
38+
> 1. Redistributions of source code must retain the above copyright notice,
39+
> this list of conditions and the following disclaimer.
40+
> 2. Redistributions in binary form must reproduce the above copyright
41+
> notice, this list of conditions and the following disclaimer in the
42+
> documentation and/or other materials provided with the distribution.
43+
> 3. Neither the name of Django nor the names of its contributors may be used
44+
> to endorse or promote products derived from this software without
45+
> specific prior written permission.
4746
>
4847
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
4948
> ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

0 commit comments

Comments
 (0)