Skip to content

Commit

Permalink
Modularised footer and fixed bug with css paths
Browse files Browse the repository at this point in the history
  • Loading branch information
garciparedes committed May 1, 2017
1 parent 1bef037 commit bb6f304
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 73 deletions.
35 changes: 35 additions & 0 deletions web/_includes/footer.html
@@ -0,0 +1,35 @@
<!-- Footer -->
<div id="footer">
<div class="inner">
<div class="container-fluid">
<div class="row">
<div class="span16">
<p>
Built at <a href="http://twitter.com/twitter"
target="_blank">@twitter</a> by
<a href="http://twitter.com/stevej" target="_blank">@stevej</a>,
<a href="http://twitter.com/marius" target="_blank">@marius</a>, and
<a href="http://twitter.com/lahosken" target="_blank">@lahosken</a>
with much help from
<a href="http://twitter.com/evanm" target="_blank">@evanm</a>,
<a href="http://twitter.com/sprsquish" target="_blank">@sprsquish</a>,
<a href="http://twitter.com/kevino" target="_blank">@kevino</a>,
<a href="http://twitter.com/zuercher" target="_blank">@zuercher</a>,
<a href="http://twitter.com/timtrueman" target="_blank">@timtrueman</a>,
<a href="http://twitter.com/wickman" target="_blank">@wickman</a>,
<a href="http://twitter.com/mccv" target="_blank">@mccv</a>
and <a href="https://github.com/garciparedes" target="_blank">@garciparedes</a>;
Russian translation by
<a href="https://github.com/appigram">appigram</a>;
Chinese simple translation by
<a href="https://github.com/jasonqu">jasonqu</a>;
Korean translation by
<a href="https://github.com/enshahar">enshahar</a>;<br />
<br />
Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
</p>
</div>
</div>
</div>
</div>
</div>
40 changes: 4 additions & 36 deletions web/_layouts/default.html
Expand Up @@ -12,9 +12,9 @@
<![endif]-->

<!-- Le styles -->
<link rel="stylesheet" href="bootstrap-1.1.0.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="small-screens.css">
<link rel="stylesheet" href="/bootstrap-1.1.0.min.css">
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/small-screens.css">

<style>
h2 { padding-top: 0px; }
Expand All @@ -37,39 +37,7 @@
{{ content }}

</div> <!-- /container-fluid -->
Built at <a href="http://twitter.com/twitter"
target="_blank">@twitter</a> by
<a href="http://twitter.com/stevej" target="_blank">@stevej</a>,
<a href="http://twitter.com/marius" target="_blank">@marius</a>, and
<a href="http://twitter.com/lahosken" target="_blank">@lahosken</a>
with much help from
<a href="http://twitter.com/evanm" target="_blank">@evanm</a>,
<a href="http://twitter.com/sprsquish"
target="_blank">@sprsquish</a>,
<a href="http://twitter.com/kevino" target="_blank">@kevino</a>,
<a href="http://twitter.com/zuercher" target="_blank">@zuercher</a>,
<a href="http://twitter.com/timtrueman"
target="_blank">@timtrueman</a>,
<a href="http://twitter.com/wickman" target="_blank">@wickman</a>,
and <a href="http://twitter.com/mccv" target="_blank">@mccv</a>;
Russian translation by
<a href="https://github.com/appigram">appigram</a>;
Chinese simple translation by
<a href="https://github.com/jasonqu">jasonqu</a>;
Korean translation by
<a href="https://github.com/enshahar">enshahar</a>;<br />
<br />
<div id="footer">
<div class="inner">
<div class="container-fluid">
<p>

Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
</p>
</div>
</div>
</div>


{% include footer.html %}
</body>
</html>
40 changes: 3 additions & 37 deletions web/_layouts/post.html
Expand Up @@ -12,8 +12,8 @@
<![endif]-->

<!-- Le styles -->
<link rel="stylesheet" href="bootstrap-1.1.0.min.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/bootstrap-1.1.0.min.css">
<link rel="stylesheet" href="/style.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down Expand Up @@ -48,40 +48,6 @@ <h3><a href="index.html">{{ page.title }}</a></h3>
<div class="container-fluid" style="padding-top: 60px;">
{{ content }}
</div> <!-- /container-fluid -->

<div id="footer">
<div class="inner">
<div class="container-fluid">
<p>

Built at <a href="http://twitter.com/twitter"
target="_blank">@twitter</a> by
<a href="http://twitter.com/stevej" target="_blank">@stevej</a>,
<a href="http://twitter.com/marius" target="_blank">@marius</a>, and
<a href="http://twitter.com/lahosken" target="_blank">@lahosken</a>
with much help from
<a href="http://twitter.com/evanm" target="_blank">@evanm</a>,
<a href="http://twitter.com/sprsquish"
target="_blank">@sprsquish</a>,
<a href="http://twitter.com/kevino" target="_blank">@kevino</a>,
<a href="http://twitter.com/zuercher" target="_blank">@zuercher</a>,
<a href="http://twitter.com/timtrueman"
target="_blank">@timtrueman</a>,
<a href="http://twitter.com/wickman" target="_blank">@wickman</a>,
and <a href="http://twitter.com/mccv" target="_blank">@mccv</a>;
Russian translation by
<a href="https://github.com/appigram">appigram</a>;
Chinese simple translation by
<a href="https://github.com/jasonqu">jasonqu</a>;
Korean translation by
<a href="https://github.com/enshahar">enshahar</a>;<br />
<br />

Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
</p>
</div>
</div>
</div>

{% include footer.html %}
</body>
</html>

0 comments on commit bb6f304

Please sign in to comment.