Skip to content

Commit 709f591

Browse files
committed
initial commit
0 parents  commit 709f591

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+10863
-0
lines changed

404.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: default
3+
title: 404 - Page not found
4+
---
5+
6+
<div class="text-center">
7+
<h1>Whoops, this page doesn't exist.</h1>
8+
<h1>Move along. (404 error)</h1>
9+
<br/>
10+
11+
<img src="img/404-southpark.jpg" />
12+
</div>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO write instructions

_config.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Serving
2+
url: "http://daattali.github.io" # full site URL
3+
url-short: "daattali.github.io" # how to display the url
4+
baseurl: "" # does not include hostname
5+
6+
# Header meta
7+
name: Dean Attali
8+
description: Dean Attali's website
9+
10+
# Outputting
11+
timezone: "America/Vancouver"
12+
markdown: redcarpet
13+
highlighter: pygments
14+
permalink: /:year-:month-:day-:title
15+
paginate: 5
16+
17+
defaults:
18+
-
19+
scope:
20+
path: "" # all files
21+
values:
22+
layout: "default"
23+
24+
title : Dean Attali
25+
26+
# Change all these values or delete the ones you don't want.
27+
# You should keep the "name" parameter since it will be used as the name of blog posts' author.
28+
author:
29+
name: Dean Attali
30+
email: "daattali@gmail.com"
31+
facebook: daattali
32+
github: daattali
33+
twitter: daattali
34+
linkedin: "pub/dean-attali/8/946/143"
35+
stackoverflow: "users/3943160/daattali"
36+
37+
# You can quickly enable/disable links from showing in the footer
38+
footer-links-active:
39+
rss: false
40+
facebook: true
41+
email: true
42+
twitter: true
43+
github: true
44+
linkedin: false
45+
stackoverflow: false
46+
47+
avatar: "/img/avatar-icon.png" # image to show in navbar
48+
49+
# List of links in the navbar
50+
navbar-links:
51+
Home: ""
52+
About Me: "aboutme"
53+
Contact: "contact"
54+
Error page: "nothing"
55+
56+
disqus: "" # Your disqus shortname
57+
google_analytics: "" # Your Google Analytics ID
58+
59+
# Exclude these files from production site
60+
exclude:
61+
- CNAME
62+
- LICENSE
63+
- README.md

_includes/disqus.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{% if site.disqus %}
2+
<div class="comments">
3+
<div id="disqus_thread"></div>
4+
<script type="text/javascript">
5+
var disqus_shortname = '{{ site.disqus }}';
6+
(function() {
7+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
9+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10+
})();
11+
</script>
12+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13+
</div>
14+
{% endif %}

_includes/footer-minimal.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<footer class="footer-min">
2+
<div class="text-muted">
3+
{{ site.author.name }}
4+
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
5+
{% if page.date %}
6+
{{ page.date }}
7+
{% else %}
8+
{{ site.time | date: '%Y' }}
9+
{% endif %}
10+
&nbsp;&nbsp;&bull;&nbsp;&nbsp;
11+
<a href="{{ site.url }}" target="_blank">{{ site.url-short }}</a>
12+
</div>
13+
</footer>

_includes/footer-scripts.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<script src="/js/jquery-1.11.2.min.js"></script>
2+
<script src="/js/bootstrap.min.js"></script>
3+
4+
{% if include.full %}
5+
<script src="/js/main.js"></script>
6+
{% endif %}
7+
8+
{% if page.js %}
9+
{% for js in page.js %}
10+
<script src="{{ js }}"></script>
11+
{% endfor %}
12+
{% endif %}
13+
14+
{% include google_analytics.html %}

_includes/footer.html

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<footer>
2+
<div class="container">
3+
<div class="row">
4+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
5+
<ul class="list-inline text-center footer-links">
6+
{% if site.author.facebook and site.footer-links-active.facebook %}
7+
<li>
8+
<a href="https://www.facebook.com/{{ site.author.facebook }}" title="Facebook">
9+
<span class="fa-stack fa-lg">
10+
<i class="fa fa-circle fa-stack-2x"></i>
11+
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
12+
</span>
13+
</a>
14+
</li>
15+
{% endif %}
16+
{% if site.author.github and site.footer-links-active.github %}
17+
<li>
18+
<a href="https://github.com/{{ site.author.github }}" title="GitHub">
19+
<span class="fa-stack fa-lg">
20+
<i class="fa fa-circle fa-stack-2x"></i>
21+
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
22+
</span>
23+
</a>
24+
</li>
25+
{% endif %}
26+
{% if site.author.twitter and site.footer-links-active.twitter %}
27+
<li>
28+
<a href="https://twitter.com/{{ site.author.twitter }}" title="Twitter">
29+
<span class="fa-stack fa-lg">
30+
<i class="fa fa-circle fa-stack-2x"></i>
31+
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
32+
</span>
33+
</a>
34+
</li>
35+
{% endif %}
36+
{% if site.author.email and site.footer-links-active.email %}
37+
<li>
38+
<a href="mailto:{{ site.author.email }}" title="Email me">
39+
<span class="fa-stack fa-lg">
40+
<i class="fa fa-circle fa-stack-2x"></i>
41+
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
42+
</span>
43+
</a>
44+
</li>
45+
{% endif %}
46+
{% if site.author.linkedin and site.footer-links-active.linkedin %}
47+
<li>
48+
<a href="https://linkedin.com/{{ site.author.linkedin }}" title="LinkedIn">
49+
<span class="fa-stack fa-lg">
50+
<i class="fa fa-circle fa-stack-2x"></i>
51+
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
52+
</span>
53+
</a>
54+
</li>
55+
{% endif %}
56+
{% if site.author.stackoverflow and site.footer-links-active.stackoverflow %}
57+
<li>
58+
<a href="https://stackoverflow.com/{{ site.author.stackoverflow }}" title="StackOverflow">
59+
<span class="fa-stack fa-lg">
60+
<i class="fa fa-circle fa-stack-2x"></i>
61+
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i>
62+
</span>
63+
</a>
64+
</li>
65+
{% endif %}
66+
{% if site.footer-links-active.rss %}
67+
<li>
68+
<a href="{{ '/feed.xml' | prepend: site.baseurl }}" title="RSS">
69+
<span class="fa-stack fa-lg">
70+
<i class="fa fa-circle fa-stack-2x"></i>
71+
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
72+
</span>
73+
</a>
74+
</li>
75+
{% endif %}
76+
</ul>
77+
<p class="copyright text-muted">
78+
&copy; {{ site.title }}
79+
&nbsp;&bull;&nbsp;
80+
{{ site.time | date: '%Y' }}
81+
&nbsp;&bull;&nbsp;
82+
<a href="{{ site.url }}">{{ site.url-short }}</a>
83+
</p>
84+
<p class="theme-by text-muted">
85+
Theme by
86+
<a href="https://github.com/daattali/beautiful-jekyll">beautiful-jekyll</a>
87+
</p>
88+
</div>
89+
</div>
90+
</div>
91+
</footer>

_includes/google_analytics.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% if site.google_analytics %}
2+
<!-- Google Analytics -->
3+
<script>
4+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8+
ga('create', '{{ site.google_analytics }}', 'auto');
9+
ga('send', 'pageview');
10+
</script>
11+
<!-- End Google Analytics -->
12+
{% endif %}

_includes/head.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<head>
2+
<meta charset="utf-8" />
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
5+
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title>
7+
8+
<meta name="author" content="{{ site.author.name }}" />
9+
<meta name="description" content="{{ site.description }}">
10+
11+
<link rel="stylesheet" href="/css/bootstrap.min.css" />
12+
<!-- I choose not to use the bootstrap theme css, I think it looks less appealing
13+
<link rel="stylesheet" href="/css/bootstrap-theme.min.css" /> -->
14+
15+
{% if include.full %}
16+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
17+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
18+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
19+
<link rel="stylesheet" href="/css/main.css" />
20+
<link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="/feed.xml" />
21+
{% else %}
22+
<link rel="stylesheet" href="/css/main-minimal.css" />
23+
{% endif %}
24+
25+
{% if page.css %}
26+
{% for css in page.css %}
27+
<link rel="stylesheet" href="{{ css }}" />
28+
{% endfor %}
29+
{% endif %}
30+
</head>

_includes/nav.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
2+
<div class="container-fluid">
3+
<div class="navbar-header">
4+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
5+
<span class="sr-only">Toggle navigation</span>
6+
<span class="icon-bar"></span>
7+
<span class="icon-bar"></span>
8+
<span class="icon-bar"></span>
9+
</button>
10+
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
11+
</div>
12+
13+
<div class="collapse navbar-collapse" id="main-navbar">
14+
<ul class="nav navbar-nav navbar-right">
15+
{% for link in site.navbar-links %}
16+
<li>
17+
<a href="{{ site.baseurl }}/{{ link[1] }}">{{ link[0] }}</a>
18+
</li>
19+
{% endfor %}
20+
</ul>
21+
</div>
22+
23+
{% if site.avatar %}
24+
<div class="avatar-container">
25+
<div class="avatar-img-border">
26+
<a href="{{ site.url }} ">
27+
<img class="avatar-img" src="{{ site.avatar | prepend: site.baseurl | replace: '//', '/' }}" />
28+
</a>
29+
</div>
30+
</div>
31+
{% endif %}
32+
33+
</div>
34+
</nav>

0 commit comments

Comments
 (0)