Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
5617437
adding gemfile for gh-pages
bertomartin Apr 19, 2015
9b45d9e
initial jekyll commit
bertomartin Apr 19, 2015
af4ff6b
adding index.html to root
bertomartin Apr 19, 2015
f1f08a1
updating gh-pages
bertomartin Apr 19, 2015
bd1895f
removing calculate_performance
bertomartin Apr 20, 2015
30d90c8
removing tradr directory
bertomartin Apr 20, 2015
7518120
updating base-url
bertomartin Apr 20, 2015
7d910c1
removing unnecessary files from this branch
bertomartin Apr 20, 2015
b119c25
putting _site in gitignore
bertomartin Apr 20, 2015
c60c5a8
structuring our project
bertomartin Apr 20, 2015
5d843b2
Update 2015-04-15-insider-transactions-analysis.md
bertomartin Apr 20, 2015
48ee603
Update 2015-04-15-insider-transactions-analysis.md
bertomartin Apr 20, 2015
39e67cd
adding repo link
bertomartin Apr 20, 2015
c61e4a7
Update 2015-04-15-insider-transactions-analysis.md
Piccone Apr 20, 2015
1403769
Update about.md
Piccone Apr 20, 2015
34e6fc6
updating about
bertomartin Apr 20, 2015
a466e6a
updating
bertomartin Apr 20, 2015
3c909d1
fixing reference to internal page
bertomartin Apr 20, 2015
4f47487
adding references
bertomartin Apr 20, 2015
8a53a84
adding another reference
bertomartin Apr 20, 2015
a6810c1
updating references
bertomartin Apr 20, 2015
5072dc5
adding content for methodology
bertomartin Apr 20, 2015
71900ad
simple text change
bertomartin Apr 20, 2015
1aa3096
Update 2015-04-17-methodology.md
bertomartin Apr 20, 2015
c139fe6
Update 2015-04-18-introduction.md
bertomartin Apr 20, 2015
6888b38
Update 2015-04-18-introduction.md
bertomartin Apr 20, 2015
c2f599e
Update _config.yml
bertomartin Apr 20, 2015
90e26d6
Update about.md
bertomartin Apr 22, 2015
b69f998
Update 2015-04-16-technical-strategies.md
bertomartin Apr 22, 2015
3b83cca
Update 2015-04-16-technical-strategies.md
bertomartin Apr 22, 2015
b3dbda1
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
e8a0704
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
a4adef7
Merge pull request #1 from rohan19250/gh-pages
bertomartin Apr 22, 2015
df5fc38
modifying readme
bertomartin Apr 22, 2015
cf1ae53
updating introduction
bertomartin Apr 22, 2015
e720584
updating introduction
bertomartin Apr 22, 2015
eb6fb22
updating intro
bertomartin Apr 22, 2015
0cb743c
updating strategies
bertomartin Apr 22, 2015
0090a0d
updating ignored
bertomartin Apr 22, 2015
180a6f5
updating trading strategies
bertomartin Apr 22, 2015
779b865
updating strategy link
bertomartin Apr 22, 2015
0d3dea0
updating strategies
bertomartin Apr 22, 2015
ce766f4
updating strategies
bertomartin Apr 22, 2015
43bc3c7
adding appl strategies
bertomartin Apr 22, 2015
ab70187
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
b5b686f
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
65db41f
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
122dad3
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
a23c549
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
c0927b1
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
8664873
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
564909c
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
3e780fe
Merge pull request #1 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
568e1cb
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
60521e2
seekingalpha_image
Apr 22, 2015
b866246
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
08bdeb6
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
8f347f3
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
185d2f8
Other images
Apr 22, 2015
90ce0a8
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
7532f92
Merge pull request #2 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
8cdc4a2
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
beb7a41
Merge pull request #3 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
e400eed
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
55022ac
adding images
Apr 22, 2015
d9633bc
Merge pull request #4 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
13dfcf2
Merge pull request #3 from rohan19250/gh-pages
rohan19250 Apr 22, 2015
ed9e882
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
6e38288
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
34d3aee
Merge pull request #5 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
9c80ba7
adding image
Apr 22, 2015
eacbffe
Merge branch 'gh-pages' of https://github.com/rohan19250/stat4701 int…
Apr 22, 2015
5f8e7c8
Merge pull request #4 from rohan19250/gh-pages
rohan19250 Apr 22, 2015
77caae9
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
73db456
Merge pull request #6 from bertomartin/gh-pages
rohan19250 Apr 22, 2015
9e7431e
adding image
Apr 22, 2015
00d186b
Merge branch 'gh-pages' of https://github.com/rohan19250/stat4701 int…
Apr 22, 2015
ea77472
Merge pull request #5 from rohan19250/gh-pages
rohan19250 Apr 22, 2015
a3bfaef
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
0ef77c5
adding image
Apr 22, 2015
718dad2
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
d3e94fd
Merge pull request #6 from rohan19250/gh-pages
rohan19250 Apr 22, 2015
fadc8d5
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 22, 2015
7294091
adding image
Apr 22, 2015
f02209c
Merge pull request #7 from rohan19250/gh-pages
rohan19250 Apr 22, 2015
cf75d01
Update 2015-04-14-sentiment-analysis.md
bertomartin Apr 22, 2015
a0c3f8b
Update 2015-04-14-sentiment-analysis.md
bertomartin Apr 22, 2015
83f5126
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
973a133
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
aa45398
adding image
Apr 23, 2015
d84184b
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
958378a
Merge pull request #8 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
2654c2d
adding image
Apr 23, 2015
e9c3957
Merge pull request #9 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
304217a
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
0303f97
Merge pull request #7 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
85365da
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
19ea947
Merge pull request #11 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
c20e1c3
Update 2015-04-15-insider-transactions-analysis.md
Piccone Apr 23, 2015
34c5902
Delete 2014-01-01-example-content.md
bertomartin Apr 23, 2015
9baf48e
Delete 2013-12-31-whats-jekyll.md
bertomartin Apr 23, 2015
3ac2d5b
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
c183d64
adding image
Apr 23, 2015
833e953
Merge branch 'gh-pages' of https://github.com/rohan19250/stat4701 int…
Apr 23, 2015
0f6e19f
Merge pull request #12 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
f9e320f
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
a2208e2
adding image
Apr 23, 2015
6cc62a2
Merge pull request #13 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
37f013c
adding image
Apr 23, 2015
ce172ae
adding image
Apr 23, 2015
da2cf1f
adding image
Apr 23, 2015
3792251
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
720c788
Merge pull request #14 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
3b3b411
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
d0ed0dc
Merge pull request #8 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
3a11b5c
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
23d6385
Merge pull request #15 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
16b1a70
Merge pull request #9 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
8ea344b
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
e8b12d1
Merge pull request #16 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
bd030dc
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
5909d3e
Merge pull request #10 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
475fb1c
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
b6cfcf4
Merge pull request #17 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
5d98ff5
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
27f14d0
Merge pull request #11 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
aefc13e
Update references.md
rohan19250 Apr 23, 2015
5279a1d
Merge pull request #12 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
965957c
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
abf5a74
Merge pull request #13 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
e11be0f
gh-pages content for News Sentiment analysis started
EHDEV Apr 23, 2015
0308cee
reordered blog back
EHDEV Apr 23, 2015
3a4a303
Delete 2015-04-23-news-sentiment-analysis.md
EHDEV Apr 23, 2015
d2bc5e3
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
aeda9b1
Merge pull request #18 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
5f39299
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
fbac2f9
Merge pull request #14 from bertomartin/gh-pages
rohan19250 Apr 23, 2015
d079692
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
1b664eb
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
36e8527
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
4f5a344
Merge pull request #19 from rohan19250/gh-pages
rohan19250 Apr 23, 2015
e82381e
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
748ad08
Update image links
Piccone Apr 23, 2015
3405db9
Added images
Piccone Apr 23, 2015
4103fd7
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
ea04c90
Update 2015-04-14-sentiment-analysis.md
rohan19250 Apr 23, 2015
1daaddf
update to blog post
EHDEV Apr 23, 2015
718bade
Screenshot of Visualizations
EHDEV Apr 23, 2015
5c1653a
Example Json Outputs
EHDEV Apr 23, 2015
b4907b7
Final update hopefully
EHDEV Apr 23, 2015
f25e56e
Msg
EHDEV Apr 23, 2015
183c4ec
gist added
EHDEV Apr 23, 2015
d642d4a
gist added
EHDEV Apr 23, 2015
cffe26e
lll
EHDEV Apr 23, 2015
c280b23
lll
EHDEV Apr 23, 2015
323b30a
Update about.md
EHDEV Apr 23, 2015
3dc8d03
Update 2015-04-15-insider-transactions-analysis.md
Piccone Apr 24, 2015
4fbd416
Update 2015-04-15-insider-transactions-analysis.md
Piccone Apr 24, 2015
c135a6b
Update references.md
bertomartin Apr 24, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site
backtesting.R
strategy1.R
strategy2.R
strategy3.R
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
title: "404: Page not found"
permalink: 404.html
---

<div class="page">
<h1 class="page-title">404: Page not found</h1>
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
</div>
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'
gem 'github-pages'
gem 'pry'
134 changes: 134 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.2.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
blankslate (2.1.2.4)
celluloid (0.16.0)
timers (~> 4.0.0)
classifier-reborn (2.0.3)
fast-stemmer (~> 1.0)
coderay (1.1.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.9.1.1)
colorator (0.1)
execjs (2.5.2)
fast-stemmer (1.0.2)
ffi (1.9.8)
gemoji (2.1.0)
github-pages (34)
RedCloth (= 4.2.9)
github-pages-health-check (~> 0.2)
jekyll (= 2.4.0)
jekyll-coffeescript (= 1.0.1)
jekyll-mentions (= 0.2.1)
jekyll-redirect-from (= 0.6.2)
jekyll-sass-converter (= 1.2.0)
jekyll-sitemap (= 0.8.1)
jemoji (= 0.4.0)
kramdown (= 1.5.0)
liquid (= 2.6.1)
maruku (= 0.7.0)
mercenary (~> 0.3)
pygments.rb (= 0.6.1)
rdiscount (= 2.1.7)
redcarpet (= 3.1.2)
terminal-table (~> 1.4)
github-pages-health-check (0.3.0)
net-dns (~> 0.6)
public_suffix (~> 1.4)
hitimes (1.2.2)
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
i18n (0.7.0)
jekyll (2.4.0)
classifier-reborn (~> 2.0)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-gist (1.2.1)
jekyll-mentions (0.2.1)
html-pipeline (~> 1.9.0)
jekyll (~> 2.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.6.2)
jekyll (~> 2.0)
jekyll-sass-converter (1.2.0)
sass (~> 3.2)
jekyll-sitemap (0.8.1)
jekyll-watch (1.2.1)
listen (~> 2.7)
jemoji (0.4.0)
gemoji (~> 2.0)
html-pipeline (~> 1.9)
jekyll (~> 2.0)
json (1.8.2)
kramdown (1.5.0)
liquid (2.6.1)
listen (2.10.0)
celluloid (~> 0.16.0)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
maruku (0.7.0)
mercenary (0.3.5)
method_source (0.8.2)
mini_portile (0.6.2)
minitest (5.6.0)
net-dns (0.8.0)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.11)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
public_suffix (1.5.1)
pygments.rb (0.6.1)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.2.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdiscount (2.1.7)
redcarpet (3.1.2)
safe_yaml (1.0.4)
sass (3.4.13)
slop (3.6.0)
terminal-table (1.4.5)
thread_safe (0.3.5)
timers (4.0.1)
hitimes
toml (0.1.2)
parslet (~> 1.5.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yajl-ruby (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages
pry
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Released under MIT License

Copyright (c) 2013 Mark Otto.

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.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# stat4701
Please refer to the wiki here: [sentiment and backtester](https://github.com/bertomartin/stat4701/wiki)
# QuantTradr Project Presentation

This is the presentation site for the QuantTradr project for Statistics 4701,
Columbia University, Spring 2015


35 changes: 35 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Dependencies
markdown: kramdown
highlighter: pygments

# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
relative_permalinks: true

# Setup
title: QuantTradR
tagline: Using R & Python to test trading strategies
url: http://bertomartin.github.io
paginate: 1
baseurl: "/stat4701"
description: QuantTradr is an initial exploration of the possibilites of backtesting strategies using R and Python. It was done for the Exploratory Visualization class at Columbia University.

# Assets
#
# We specify the directory for Jekyll so we can use @imports.
sass:
sass_dir: _sass
style: :compressed

# About/contact
author:
name: Mark Otto
url: https://twitter.com/mdo
email: markdotto@gmail.com

# Custom vars
version: 1.0.0
github:
repo: https://github.com/poole/poole
29 changes: 29 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">

<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

<title>
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.tagline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>

<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/lanyon.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700%7CPT+Sans:400">

<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">

<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
</head>
47 changes: 47 additions & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
styles, `#sidebar-checkbox` for behavior. -->
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar-item">
<p>{{ site.description }}</p>
</div>

<nav class="sidebar-nav">
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>

{% comment %}
The code below dynamically generates a sidebar nav of pages with
`layout: page` in the front-matter. See readme for usage.
{% endcomment %}

{% assign pages_list = site.pages | sort:"url" %}
{% for node in pages_list %}
{% if node.title != null %}
{% if node.layout == "page" %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{site.baseurl}}{{ node.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}

<!-- <a class="sidebar-nav-item" href="{{ site.github.repo }}/archive/v{{ site.version }}.zip">Stat 4701/Columbia</a>
<a class="sidebar-nav-item" href="{{ site.github.repo }}">GitHub project</a>
<span class="sidebar-nav-item">Currently v{{ site.version }}</span> -->
</nav>

<div class="sidebar-item">
Exploratory Data Visualization, Columbia University, Spring 2015.
<a href="http://stat4701.github.io/edav/", target="_blank">Stat 4701</a>
</div>

<div class="sidebar-item">
<a href="https://github.com/bertomartin/stat4701/tree/gh-pages", target="_blank">repo</a>
</div>

<div class="sidebar-item">
<p>
&copy; {{ site.time | date: '%Y' }}. All lefts reserved.
</p>
</div>
</div>
48 changes: 48 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en-us">

{% include head.html %}

<body class="sidebar-overlay">

{% include sidebar.html %}

<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content. -->
<div class="wrap">
<div class="masthead">
<div class="container">
<h3 class="masthead-title">
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
<small>{{ site.tagline }}</small>
</h3>
</div>
</div>

<div class="container content">
{{ content }}
</div>
</div>

<label for="sidebar-checkbox" class="sidebar-toggle"></label>

<script>
(function(document) {
var toggle = document.querySelector('.sidebar-toggle');
var sidebar = document.querySelector('#sidebar');
var checkbox = document.querySelector('#sidebar-checkbox');

document.addEventListener('click', function(e) {
var target = e.target;

if(!checkbox.checked ||
sidebar.contains(target) ||
(target === checkbox || target === toggle)) return;

checkbox.checked = false;
}, false);
})(document);
</script>

</body>
</html>
8 changes: 8 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
---

<div class="page">
<h1 class="page-title">{{ page.title }}</h1>
{{ content }}
</div>
25 changes: 25 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---

<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{{ content }}
</div>

<div class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</div>
Loading