mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
move header and footer to includes
This commit is contained in:
parent
048c363207
commit
20fd8b4fb2
15
_includes/footer.html
Normal file
15
_includes/footer.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<footer class="site-footer cf">
|
||||||
|
<nav>
|
||||||
|
<a href="/about/">About</a>
|
||||||
|
<a href="https://help.github.com/articles/github-terms-of-service">Terms of Service</a>
|
||||||
|
</nav>
|
||||||
|
<p>
|
||||||
|
Please consult a legal expert before adopting a software license for your project.<br>
|
||||||
|
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
||||||
|
Creative Commons Attribution 3.0 Unported License</a>.</p>
|
||||||
|
</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</div><!-- /container -->
|
||||||
|
</body>
|
||||||
|
</html>
|
36
_includes/header.html
Normal file
36
_includes/header.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang='en'>
|
||||||
|
<head>
|
||||||
|
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title}}</title>
|
||||||
|
<meta charset='utf-8'>
|
||||||
|
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
||||||
|
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
|
||||||
|
<link type="text/css" href="/css/application.css" media="screen" rel="stylesheet">
|
||||||
|
<link type="text/css" href="/css/jquery.qtip.css" media="screen" rel="stylesheet">
|
||||||
|
<script type="text/javascript" src="/javascripts/jquery-1.7.1.min.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascripts/annotations.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascripts/app.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascripts/jquery.qtip.min.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascripts/modernizr.js"></script>
|
||||||
|
|
||||||
|
{% if page.layout == "license" %}
|
||||||
|
<script type="text/javascript" src="/javascripts/clipboard.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascripts/ZeroClipboard.js"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<!--[if (gte IE 6)&(lte IE 8)]>
|
||||||
|
<script src='/javascripts/selectivizr-min.js' type='text/javascript'></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="{{ page.layout }} {{ page.class }}">
|
||||||
|
<div class='container'>
|
||||||
|
|
||||||
|
{% if page.layout == "default" and page.class != "home" %}
|
||||||
|
<ol class='breadcrumbs'>
|
||||||
|
<li>
|
||||||
|
<a href="/">Home</a>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
{% endif %}
|
@ -1,38 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
{% include header.html %}
|
||||||
<html lang='en'>
|
|
||||||
<head>
|
|
||||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title}}</title>
|
|
||||||
<meta charset='utf-8'>
|
|
||||||
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
|
||||||
<link href='../../../favicon.ico' rel='shortcut icon' type='image/x-icon'>
|
|
||||||
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
|
|
||||||
<link type="text/css" href="../../../css/application.css" media="screen" rel="stylesheet">
|
|
||||||
<link type="text/css" href="../../../css/jquery.qtip.css" media="screen" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="../../javascripts/jquery-1.7.1.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/annotations.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/app.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/jquery.qtip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/modernizr.js"></script>
|
|
||||||
<!--[if (gte IE 6)&(lte IE 8)]>
|
|
||||||
<script src='../../../javascripts/selectivizr-min.js' type='text/javascript'></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
|
||||||
<body class="{{ page.layout }} {{ page.class }}">
|
|
||||||
<div class='container'>
|
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<footer class="site-footer cf">
|
{% include footer.html %}
|
||||||
<nav>
|
|
||||||
<a href="/about/">About</a>
|
|
||||||
<a href="https://help.github.com/articles/github-terms-of-service">Terms of Service</a>
|
|
||||||
</nav>
|
|
||||||
<p>
|
|
||||||
Please consult a legal expert before adopting a software license for your project.<br>
|
|
||||||
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
|
||||||
Creative Commons Attribution 3.0 Unported License</a>.</p>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,30 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% include header.html %}
|
||||||
<html lang='en'>
|
|
||||||
<head>
|
|
||||||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title}}</title>
|
|
||||||
<meta charset='utf-8'>
|
|
||||||
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
|
||||||
<link href='../../../favicon.ico' rel='shortcut icon' type='image/x-icon'>
|
|
||||||
<link href='http://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
|
|
||||||
<link type="text/css" href="../../../css/application.css" media="screen" rel="stylesheet">
|
|
||||||
<link type="text/css" href="../../css/jquery.qtip.css" media="screen" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="../../javascripts/jquery-1.7.1.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/annotations.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/app.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/jquery.qtip.min.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/clipboard.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/ZeroClipboard.js"></script>
|
|
||||||
<script type="text/javascript" src="../../javascripts/modernizr.js"></script>
|
|
||||||
<!--[if (gte IE 6)&(lte IE 8)]>
|
|
||||||
<script src='../../../javascripts/selectivizr-min.js' type='text/javascript'></script>
|
|
||||||
<![endif]-->
|
|
||||||
</head>
|
|
||||||
<body class="{{ page.layout }}">
|
|
||||||
<div class='container'>
|
|
||||||
|
|
||||||
<ol class='breadcrumbs'>
|
<ol class='breadcrumbs'>
|
||||||
<li>
|
<li>
|
||||||
<a href="../../../">Home</a> / <a href="../">Licenses</a>
|
<a href="/">Home</a> / <a href="/licenses/">Licenses</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
@ -43,18 +21,4 @@
|
|||||||
|
|
||||||
</div><!-- /cf -->
|
</div><!-- /cf -->
|
||||||
|
|
||||||
<footer class="site-footer cf">
|
{% include footer.html %}
|
||||||
<nav>
|
|
||||||
<a href="/about/">About</a>
|
|
||||||
<a href="https://help.github.com/articles/github-terms-of-service">Terms of Service</a>
|
|
||||||
</nav>
|
|
||||||
<p>
|
|
||||||
Please consult a legal expert before adopting a software license for your project.<br>
|
|
||||||
This site is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/">
|
|
||||||
Creative Commons Attribution 3.0 Unported License</a>.</p>
|
|
||||||
</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div><!-- /container -->
|
|
||||||
</body>
|
|
||||||
</html>
|
|
6
about.md
6
about.md
@ -4,12 +4,6 @@ layout: default
|
|||||||
permalink: /about/
|
permalink: /about/
|
||||||
---
|
---
|
||||||
|
|
||||||
<ol class='breadcrumbs'>
|
|
||||||
<li>
|
|
||||||
<a href="../../../">Home</a>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
# What’s this about?
|
# What’s this about?
|
||||||
|
|
||||||
We want to help developers choose a license for their source code.
|
We want to help developers choose a license for their source code.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
class: home
|
class: home
|
||||||
|
hide_breadcrumbs: true
|
||||||
---
|
---
|
||||||
<div id='home'>
|
<div id='home'>
|
||||||
<h1>Choosing an OSS license doesn’t need to be scary.</h1>
|
<h1>Choosing an OSS license doesn’t need to be scary.</h1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user