forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 709f591
Showing
43 changed files
with
10,863 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
title: 404 - Page not found | ||
--- | ||
|
||
<div class="text-center"> | ||
<h1>Whoops, this page doesn't exist.</h1> | ||
<h1>Move along. (404 error)</h1> | ||
<br/> | ||
|
||
<img src="img/404-southpark.jpg" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TODO write instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Serving | ||
url: "http://daattali.github.io" # full site URL | ||
url-short: "daattali.github.io" # how to display the url | ||
baseurl: "" # does not include hostname | ||
|
||
# Header meta | ||
name: Dean Attali | ||
description: Dean Attali's website | ||
|
||
# Outputting | ||
timezone: "America/Vancouver" | ||
markdown: redcarpet | ||
highlighter: pygments | ||
permalink: /:year-:month-:day-:title | ||
paginate: 5 | ||
|
||
defaults: | ||
- | ||
scope: | ||
path: "" # all files | ||
values: | ||
layout: "default" | ||
|
||
title : Dean Attali | ||
|
||
# Change all these values or delete the ones you don't want. | ||
# You should keep the "name" parameter since it will be used as the name of blog posts' author. | ||
author: | ||
name: Dean Attali | ||
email: "[email protected]" | ||
facebook: daattali | ||
github: daattali | ||
twitter: daattali | ||
linkedin: "pub/dean-attali/8/946/143" | ||
stackoverflow: "users/3943160/daattali" | ||
|
||
# You can quickly enable/disable links from showing in the footer | ||
footer-links-active: | ||
rss: false | ||
facebook: true | ||
email: true | ||
twitter: true | ||
github: true | ||
linkedin: false | ||
stackoverflow: false | ||
|
||
avatar: "/img/avatar-icon.png" # image to show in navbar | ||
|
||
# List of links in the navbar | ||
navbar-links: | ||
Home: "" | ||
About Me: "aboutme" | ||
Contact: "contact" | ||
Error page: "nothing" | ||
|
||
disqus: "" # Your disqus shortname | ||
google_analytics: "" # Your Google Analytics ID | ||
|
||
# Exclude these files from production site | ||
exclude: | ||
- CNAME | ||
- LICENSE | ||
- README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% if site.disqus %} | ||
<div class="comments"> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
var disqus_shortname = '{{ site.disqus }}'; | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = '//' + 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> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<footer class="footer-min"> | ||
<div class="text-muted"> | ||
{{ site.author.name }} | ||
• | ||
{% if page.date %} | ||
{{ page.date }} | ||
{% else %} | ||
{{ site.time | date: '%Y' }} | ||
{% endif %} | ||
• | ||
<a href="{{ site.url }}" target="_blank">{{ site.url-short }}</a> | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script src="/js/jquery-1.11.2.min.js"></script> | ||
<script src="/js/bootstrap.min.js"></script> | ||
|
||
{% if include.full %} | ||
<script src="/js/main.js"></script> | ||
{% endif %} | ||
|
||
{% if page.js %} | ||
{% for js in page.js %} | ||
<script src="{{ js }}"></script> | ||
{% endfor %} | ||
{% endif %} | ||
|
||
{% include google_analytics.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<footer> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
<ul class="list-inline text-center footer-links"> | ||
{% if site.author.facebook and site.footer-links-active.facebook %} | ||
<li> | ||
<a href="https://www.facebook.com/{{ site.author.facebook }}" title="Facebook"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.author.github and site.footer-links-active.github %} | ||
<li> | ||
<a href="https://github.com/{{ site.author.github }}" title="GitHub"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-github fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.author.twitter and site.footer-links-active.twitter %} | ||
<li> | ||
<a href="https://twitter.com/{{ site.author.twitter }}" title="Twitter"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.author.email and site.footer-links-active.email %} | ||
<li> | ||
<a href="mailto:{{ site.author.email }}" title="Email me"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.author.linkedin and site.footer-links-active.linkedin %} | ||
<li> | ||
<a href="https://linkedin.com/{{ site.author.linkedin }}" title="LinkedIn"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.author.stackoverflow and site.footer-links-active.stackoverflow %} | ||
<li> | ||
<a href="https://stackoverflow.com/{{ site.author.stackoverflow }}" title="StackOverflow"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.footer-links-active.rss %} | ||
<li> | ||
<a href="{{ '/feed.xml' | prepend: site.baseurl }}" title="RSS"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-rss fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
<p class="copyright text-muted"> | ||
© {{ site.title }} | ||
• | ||
{{ site.time | date: '%Y' }} | ||
• | ||
<a href="{{ site.url }}">{{ site.url-short }}</a> | ||
</p> | ||
<p class="theme-by text-muted"> | ||
Theme by | ||
<a href="https://github.com/daattali/beautiful-jekyll">beautiful-jekyll</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% if site.google_analytics %} | ||
<!-- Google Analytics --> | ||
<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> | ||
<!-- End Google Analytics --> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title> | ||
|
||
<meta name="author" content="{{ site.author.name }}" /> | ||
<meta name="description" content="{{ site.description }}"> | ||
|
||
<link rel="stylesheet" href="/css/bootstrap.min.css" /> | ||
<!-- I choose not to use the bootstrap theme css, I think it looks less appealing | ||
<link rel="stylesheet" href="/css/bootstrap-theme.min.css" /> --> | ||
|
||
{% if include.full %} | ||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" /> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" /> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" /> | ||
<link rel="stylesheet" href="/css/main.css" /> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="/feed.xml" /> | ||
{% else %} | ||
<link rel="stylesheet" href="/css/main-minimal.css" /> | ||
{% endif %} | ||
|
||
{% if page.css %} | ||
{% for css in page.css %} | ||
<link rel="stylesheet" href="{{ css }}" /> | ||
{% endfor %} | ||
{% endif %} | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<nav class="navbar navbar-default navbar-fixed-top navbar-custom"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a> | ||
</div> | ||
|
||
<div class="collapse navbar-collapse" id="main-navbar"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
{% for link in site.navbar-links %} | ||
<li> | ||
<a href="{{ site.baseurl }}/{{ link[1] }}">{{ link[0] }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
|
||
{% if site.avatar %} | ||
<div class="avatar-container"> | ||
<div class="avatar-img-border"> | ||
<a href="{{ site.url }} "> | ||
<img class="avatar-img" src="{{ site.avatar | prepend: site.baseurl | replace: '//', '/' }}" /> | ||
</a> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
{% include head.html full = true %} | ||
|
||
<body> | ||
|
||
{% include nav.html %} | ||
|
||
<div role="main" class="container main-content"> | ||
{{ content }} | ||
</div> | ||
|
||
{% include footer.html %} | ||
|
||
{% include footer-scripts.html full = true %} | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
{% include head.html full = false %} | ||
|
||
<body> | ||
|
||
<div role="main" class="container main-content"> | ||
{{ content }} | ||
</div> | ||
|
||
{% include footer-minimal.html %} | ||
|
||
{% include footer-scripts.html full = false %} | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{% if page.title %} | ||
<header class="header-page"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
<div class="page-heading"> | ||
<h1>{{ page.title }}</h1> | ||
{% if page.description %} | ||
<hr class="small"> | ||
<span class="page-subheading">{{ page.description }}</span> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
{% endif %} | ||
|
||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
{{ content }} | ||
</div> | ||
</div> |
Oops, something went wrong.