Skip to content
Permalink
Browse files

First commit of this new jekyll theme sustain.

  • Loading branch information...
biomadeira committed Oct 28, 2015
1 parent 2b43b18 commit 4d810ecc54163e1e5ebe3fb5c245515c8a899ba6
@@ -0,0 +1,4 @@
.DS_Store
*.swp
.idea/
_site/
@@ -0,0 +1,10 @@
---
layout: layout
title: Page not found!
---

<div class="container">
<div class="page-not-found">
<h3>Uh oh! Page not found!</h3>
</div>
</div>
0 CNAME
No changes.
21 LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 FΓ‘bio Madeira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -1 +1,47 @@
# sustain

# Sustain

Personal blog built with [Bootstrap](http://getbootstrap.com/), powered by [Jekyll](http://jekyllrb.com/) and freely
hosted in [Github pages](https://pages.github.com/).


## View the live demo

[Sustain Live Demo](https://biomadeira.github.io/sustain)


## Screenshots

**Home page**
![home page](https://raw.githubusercontent.com/biomadeira/sustain/gh-pages/assets/images/screen1.png)

**Blog page**
![blog page](https://raw.githubusercontent.com/biomadeira/sustain/gh-pages/assets/images/screen2.png)

**Post page**
![post page](https://raw.githubusercontent.com/biomadeira/sustain/gh-pages/assets/images/screen3.png)

**Projects page**
![project page](https://raw.githubusercontent.com/biomadeira/sustain/gh-pages/assets/images/screen4.png)


## How to use it

Simply clone/fork this repository, and then run `jekyll serve` inside the directory.
Edit the site attributes in *_config.yml* and edit the various entries in *_includes/* and *_posts/*.

## Thanks

Profile picture from [pexels](https://www.pexels.com/photo/portrait-black-african-ethnicity-person-9494/).


## Copyright & License

Copyright (C) 2015 - Released under the MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,24 @@
# top level stuff you probably don't need to touch
highlighter: pygments
markdown: rdiscount
rdiscount:
extensions: [smart]
permalink: /:title.html
paginate: 5
port: 3000
safe: true


# edit here to achieve your personal greatness
url: http://username.github.io/
baseurl: /sustain/
title: Chris Turner
author: Chris Turner
description: Personal blog and resume
avatar: profile.png
email: yourname@email.com
github: username
twitter: chrisstturner
linkedin: username
disqus: username
google_analytics: UA-69391421-1
@@ -0,0 +1,10 @@
<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),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
@@ -0,0 +1,18 @@
<div class="disqus">
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus }}'; // required: replace example with your forum shortname
var disqus_identifier = '{{ page.url }}';
var disqus_url = '{{ site.url }}{{ page.url }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
@@ -0,0 +1,8 @@
<entry>
<title type="text">{{ post.title | xml_escape }}</title>
<link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
<id>{{ site.url }}{{ post.id }}</id>
<published>{{ post.date | date: "%Y-%m-%dT%H:%M:%SZ" }}</published>
<updated>{{ post.date | date: "%Y-%m-%dT%H:%M:%SZ" }}</updated>
<content type="html"><![CDATA[ {{ post.content }} ]]></content>
</entry>
@@ -0,0 +1,9 @@
<footer>
<div id="footer">
<div class="container">
<p class="text-muted">Β© All rights reserved. Powered by <a href="http://jekyllrb.com/">Jekyll</a> and
<a href="http://www.github.com/biomadeira/sustain">sustain</a> with β™₯</p>
</div>
</div>
</footer>
<div class="footer"></div>
@@ -0,0 +1,14 @@
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="{{ site.baseurl }}"><i class="fa fa-home"></i></a>
</div>
<div id="navbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="{{ site.baseurl }}blog.html">BLOG</a></li>
<li><a href="{{ site.baseurl }}projects.html">PROJECTS</a></li>
<li><a href="http://biomadeira.github.io/vitae">RESUME</a></li>
</ul>
</div>
</div>
</nav>
@@ -0,0 +1,45 @@
<section id="projects">
<div class="container">
<h3>Projects</h3>
<div class="panel panel-default">
<div class="panel-body">
<h4>
<i class="fa fa-github"></i>&nbsp;&nbsp;<strong><a href="#">Project 1</a></strong>
- Ei viderer tacimates pro, quem assum ea nam. Veritus omnesque eam te. Et natum mucius tamquam vel,
ea dolorem volumus deterruisset nec. Graeci mentitum sea an, eu prima elaboraret est.
</h4>
<h4>
<i class="fa fa-github"></i>&nbsp;&nbsp;<strong><a href="#">Project 2</a></strong>
- An eripuit phaedrum qui, nec facer splendide ex, vel ea assum facilisi convenire.
Te his neglegentur consectetuer.
</h4>
<h4>
<i class="fa fa-github"></i>&nbsp;&nbsp;<strong><a href="#">Project 3</a></strong>
- An alii quot tantas eum, doming platonem persecuti mea et, vim perpetua cotidieque delicatissimi in.
</h4>
<h4>
<i class="fa fa-globe"></i>&nbsp;&nbsp;<strong><a href="#">Project 4</a></strong>
- Vim an case vidit sententiae, est at euismod laboramus efficiantur. Ei sit brute lorem,
ea eam timeam viderer aliquid, cu integre omittam moderatius quo.
</h4>
<h4>
<i class="fa fa-globe"></i>&nbsp;&nbsp;<strong><a href="#">Project 5</a></strong>
- Dicta causae meliore ex vel, in vix erant integre petentium. Vix ei nisl scripta recusabo,
eam doming blandit facilisis.
</h4>
<h4>
<i class="fa fa-cog"></i>&nbsp;&nbsp;<strong><a href="#">Project 6</a></strong>
- Inermis recusabo elaboraret mea et, dicat neglegentur vim te. Nec et sanctus scriptorem,
usu ex sapientem gubergren. Tamquam admodum ei usu.
</h4>
<h4>
<i class="fa fa-cog"></i>&nbsp;&nbsp;<strong><a href="#">Project 7</a></strong>
- Essent putant indoctum sed in, reprimique persequeris neglegentur te quo. Nam rebum
tractatos partiendo at, debet ubique oporteat ut his.
</h4>


</div>
</div>
</div>
</section>
@@ -0,0 +1,7 @@
<div class="social">
<h4>
<a href="http://github.com/{{ site.github }}"><i class="fa fa-github"></i></a>
<a href="http://twitter.com/{{ site.twitter }}"><i class="fa fa-twitter"></i></a>
<a href="http://linkedin.com/in/{{ site.linkedin }}"><i class="fa fa-linkedin"></i></a>
</h4>
</div>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
{% if page.grouptype == 'tag' %}
<title type="text" xml:lang="en">Posts Tagged β€œ{{ page.tag }}” – {{ site.title }}</title>
<link type="application/atom+xml" rel="self" href="{{ site.url }}/tag/{{ page.tag | replace:' ','-' | downcase }}/atom.xml"/>
{% elsif page.grouptype == 'category' %}
<title type="text" xml:lang="en">Posts Categorized β€œ{{ page.category | titlecase }}” – {{ site.title }}</title>
<link type="application/atom+xml" rel="self" href="{{ site.url }}/category/{{ page.category | replace:' ','-' | downcase }}/atom.xml"/>
{% else %}
<title type="text" xml:lang="en">{{ site.title }}</title>
<link type="application/atom+xml" rel="self" href="{{ site.url }}/atom.xml"/>
{% endif %}
<link href="{{ site.url }}/"/>
<id>{{ site.url }}/</id>
<updated>{{ site.time | date: "%Y-%m-%dT%H:%M:%SZ" }}</updated>
<author>
<name>{{ site.author }}</name>
<email>{{ site.email }}</email>
</author>
<rights type="text">Copyright Β© {{ site.time | date: "%Y" }} {{ site.author }}. All rights reserved.</rights>
{{ content }}
</feed>
@@ -0,0 +1,5 @@
---
layout: layout
---

{{ content }}
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{ site.author }}" />
<meta name="description" content="{{ site.description }}">
<link rel="favicon" href="{{ site.baseurl }}static/img/favicon.ico">

{% if page.title %}
<title>{{ page.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}

<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"
integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
crossorigin="anonymous">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<!-- Custom styles for this template -->
<link href="{{ site.baseurl }}static/css/main.css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,200bold,400old" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href="{{ site.baseurl }}static/css/bootstrap.icon-large.min.css" rel="stylesheet">

<!-- Google Analytics -->
{% include analytics.html %}
</head>
<!-- Main Body-->
<body>
<!-- Wrap all page content here -->
<div id="wrap">
<!-- Navbar header -->
{% include header.html %}

{{ content }}

</div>
<!-- Footer -->
{% include footer.html %}

<a href="https://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>

<!-- Bootstrap core JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"
integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ=="
crossorigin="anonymous"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{ site.baseurl }}static/js/docs.min.js"></script>
<script src="{{ site.baseurl }}static/js/main.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="{{ site.baseurl }}static/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
@@ -0,0 +1,5 @@
---
layout: layout
---

{{ content }}
@@ -0,0 +1,40 @@
---
layout: layout
---

<div class="container">
<div class="blog-post">
<h3>
<strong><a href="{{ page.url }}">{{ page.title }}</a></strong>
</h3>
</div>
<div class="blog-title">
<h4>
{{ page.date | date: "%B %e, %Y" }}
&nbsp;&nbsp;
{% for tag in page.tags %}
<span class="label label-success">{{ tag }}</span>
{% endfor %}
</h4>
</div>
<div class="panel panel-default">
<div class="panel-body">
<h4>
{{ content }}
<hr>
<div class="related-posts">
<h4>Related Posts</h4>
{% for post in site.related_posts limit:3 %}
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4"><h6 style="text-align: right">
{{ post.date | date: "%B %e, %Y" }}</h6></div>
<div class="col-sm-8 col-md-8 col-lg-8"><h6 style="text-align: left">
<strong><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></strong></h6></div>
</div>
{% endfor %}
</div>
</h4>
</div>
</div>
{% include disqus.html %}
</div>
@@ -0,0 +1,13 @@
---
layout: post
title: Nice sticky footer down there &darr; &darr;
tags:
- News
- Tags
- Blog
- Post
---

Lorem ipsum dolor sit amet, te semper nostrud eos, ei feugiat dignissim nam, graeco aliquid vix ad. Ut nec erant pericula, ei mollis nominati qui. Vim an case vidit sententiae, est at euismod laboramus efficiantur. Ei sit brute lorem, ea eam timeam viderer aliquid, cu integre omittam moderatius quo.

Per cu prompta minimum. No sit stet aliquam, et duo tale possit minimum. Cu dicta mundi consequat sed. Ut duo sint probatus deserunt. Iriure copiosae te sed. Duo ea unum lorem tempor, per ex novum dicit concludaturque, ei ullum sanctus luptatum eum.

0 comments on commit 4d810ec

Please sign in to comment.
You can’t perform that action at this time.