-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelican-travis-github-pages.html
240 lines (220 loc) · 26.4 KB
/
pelican-travis-github-pages.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<title>Pelican + Travis + Github Pages - lucasbrunialti</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" />
<!--<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" rel="stylesheet" />-->
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="/theme/style.css" rel="stylesheet" />
<!-- favicon -->
<link rel="shortcut icon" type="image/x-icon" href="/theme/favicon.ico">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="lucasbrunialti Full Atom Feed" />
<link href="/feeds/tutorial.atom.xml" type="application/atom+xml" rel="alternate" title="lucasbrunialti Categories Atom Feed" />
</head>
<body id="index" class="archive">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<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="">lucasbrunialti</a>
</div>
<div class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li><a href="/tags.html">tags</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</nav>
<div class="container">
<section id="content" class="article content">
<header>
<h2 class="entry-title">
Pelican + Travis + Github Pages
</h2>
<div class="text-muted">Sat 02 May 2015</div>
</header>
<!-- .entry-content -->
<div class="entry-content">
<p>Hello, this is my first blob post!! I'm here to guide you guys on setting up a blog with <a href="http://blog.getpelican.com/">Pelican</a> and <a href="https://travis-ci.org/">Travis CI tool</a> hosted by <a href="https://pages.github.com/">Github Pages</a>.</p>
<p>Pelican is a static site generator written in Python that translate Markdown and rST to HTML, it supports customized themes, RSS feeds, <a href="https://disqus.com/">DISQUS</a> for comments and much more.
Github pages is a free hoster for projects and personal pages, that is going to host our personal blog.
Finally, Travis is a tool for automated testing and deploy, so that any commit to the blog repo will trigger a deploy.</p>
<p>I decided to begin the blog with this tutorial because I couldn't find any post for setting up a personal github page with pelican and travis. Let the code begins!</p>
<h3>Setup github stuff</h3>
<p>Start by creating a profile and a project to store the source of your blog on <a href="https://github.com">github.com</a>. Create a project with the name <code><profile_name>.github.io</code> and clone into your computer:</p>
<div class="highlight"><pre><span></span><code>$ git clone https://github.com/<profile_name>/<profile_name>.github.io.git
</code></pre></div>
<p>When you create a repo with the name <code><profile_name>.github.io</code>, Github Pages publish the whole content on <code>master</code> branch to this page <code>http://<profile_name>.github.io/</code>, for example, mine is in <a href="http://lucasbrunialti.github.io/">http://lucasbrunialti.github.io/</a>. Because of that, we're going to do a hack, putting pelican source to a branch called <code>src</code> and generate the page source (html, css and stuff) to <code>master</code>, so that, create and checkout to a branch called <code>src</code>:</p>
<div class="highlight"><pre><span></span><code>$ git checkout -b src
</code></pre></div>
<h3>Starting with pelican</h3>
<p>As pelican is a python project, it requires the installation of pip (Python Package Index) and virtualenv (this is not really a dependency, but it is good to keep dependencies of python projects organized):</p>
<div class="highlight"><pre><span></span><code>$ sudo easy_install pip
$ pip install virtualenv
</code></pre></div>
<p>Setup a virtualenv for your pelican:</p>
<div class="highlight"><pre><span></span><code>$ virtualenv ~/virtualenvs/pelican
$ <span class="nb">source</span> ~/virtualenvs/pelican/bin/activate
</code></pre></div>
<p>Now, install pelican:</p>
<div class="highlight"><pre><span></span><code>$ pip install pelican markdown ghp-import
</code></pre></div>
<p>Now it is possible to list the dependencies of your blog:</p>
<div class="highlight"><pre><span></span><code>$ pip freeze > requirements.txt
</code></pre></div>
<p>Auto generate the source with:</p>
<div class="highlight"><pre><span></span><code>$ pelican-quickstart
</code></pre></div>
<p>It is going to ask a bunch of questions, the answers were given for this tutorial, but you can answer it on your own:</p>
<div class="highlight"><pre><span></span><code><span class="o">></span><span class="w"> </span><span class="k">Where</span><span class="w"> </span><span class="n">do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="k">create</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="k">new</span><span class="w"> </span><span class="n">web</span><span class="w"> </span><span class="n">site</span><span class="vm">?</span><span class="w"> </span><span class="o">[</span><span class="n">.</span><span class="o">]</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">What</span><span class="w"> </span><span class="n">will</span><span class="w"> </span><span class="n">be</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">title</span><span class="w"> </span><span class="k">of</span><span class="w"> </span><span class="n">this</span><span class="w"> </span><span class="n">web</span><span class="w"> </span><span class="n">site</span><span class="vm">?</span><span class="w"> </span><span class="o"><</span><span class="n">profile_name</span><span class="o">></span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Who</span><span class="w"> </span><span class="n">will</span><span class="w"> </span><span class="n">be</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">author</span><span class="w"> </span><span class="k">of</span><span class="w"> </span><span class="n">this</span><span class="w"> </span><span class="n">web</span><span class="w"> </span><span class="n">site</span><span class="vm">?</span><span class="w"> </span><span class="o"><</span><span class="n">name</span><span class="o">></span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">What</span><span class="w"> </span><span class="n">will</span><span class="w"> </span><span class="n">be</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="k">default</span><span class="w"> </span><span class="k">language</span><span class="w"> </span><span class="k">of</span><span class="w"> </span><span class="n">this</span><span class="w"> </span><span class="n">web</span><span class="w"> </span><span class="n">site</span><span class="vm">?</span><span class="w"> </span><span class="o">[</span><span class="n">en</span><span class="o">]</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">specify</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="n">URL</span><span class="w"> </span><span class="k">prefix</span><span class="vm">?</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">enable</span><span class="w"> </span><span class="n">article</span><span class="w"> </span><span class="n">pagination</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">y</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">How</span><span class="w"> </span><span class="n">many</span><span class="w"> </span><span class="n">articles</span><span class="w"> </span><span class="n">per</span><span class="w"> </span><span class="n">page</span><span class="w"> </span><span class="n">do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="vm">?</span><span class="w"> </span><span class="o">[</span><span class="n">10</span><span class="o">]</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">generate</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="n">Fabfile</span><span class="o">/</span><span class="n">Makefile</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">automate</span><span class="w"> </span><span class="n">generation</span><span class="w"> </span><span class="ow">and</span><span class="w"> </span><span class="n">publishing</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">y</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="n">an</span><span class="w"> </span><span class="n">auto</span><span class="o">-</span><span class="n">reload</span><span class="w"> </span><span class="o">&</span><span class="w"> </span><span class="n">simpleHTTP</span><span class="w"> </span><span class="n">script</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">assist</span><span class="w"> </span><span class="k">with</span><span class="w"> </span><span class="n">theme</span><span class="w"> </span><span class="ow">and</span><span class="w"> </span><span class="n">site</span><span class="w"> </span><span class="n">development</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">FTP</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">SSH</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">Dropbox</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">S3</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">Rackspace</span><span class="w"> </span><span class="n">Cloud</span><span class="w"> </span><span class="n">Files</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">n</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="n">Do</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="n">want</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="n">upload</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">website</span><span class="w"> </span><span class="k">using</span><span class="w"> </span><span class="n">GitHub</span><span class="w"> </span><span class="n">Pages</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">y</span><span class="w"></span>
<span class="o">></span><span class="w"> </span><span class="k">Is</span><span class="w"> </span><span class="n">this</span><span class="w"> </span><span class="n">your</span><span class="w"> </span><span class="n">personal</span><span class="w"> </span><span class="n">page</span><span class="w"> </span><span class="p">(</span><span class="n">username</span><span class="p">.</span><span class="n">github</span><span class="p">.</span><span class="n">io</span><span class="p">)</span><span class="vm">?</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="o">/</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="n">y</span><span class="w"></span>
</code></pre></div>
<p>Check out the project's structure now:</p>
<div class="highlight"><pre><span></span><code>$ find .
./content
./fabfile.py
./LICENSE
./Makefile
./output
./pelicanconf.py
./publishconf.py
./requirements.txt
</code></pre></div>
<p>It is possible to edit config in the <code>pelicanconf.py</code> file.</p>
<p>Now make a <code>hello world</code> page in <code>content/hello_world.md</code>:</p>
<div class="highlight"><pre><span></span><code><span class="n">Title</span><span class="o">:</span> <span class="n">Hello</span> <span class="n">World</span> <span class="n">Pelican</span>
<span class="n">Date</span><span class="o">:</span> <span class="mi">2015</span><span class="o">-</span><span class="mi">05</span><span class="o">-</span><span class="mi">02</span> <span class="mi">15</span><span class="o">:</span><span class="mi">50</span>
<span class="n">Category</span><span class="o">:</span> <span class="n">hello</span> <span class="n">world</span>
<span class="n">Tags</span><span class="o">:</span> <span class="n">hello</span> <span class="n">world</span><span class="o">,</span> <span class="n">pelican</span><span class="o">,</span> <span class="n">markdown</span>
<span class="n">Author</span><span class="o">:</span> <span class="o"><</span><span class="n">your_name</span><span class="o">></span>
<span class="n">Hello</span> <span class="n">World</span> <span class="k">with</span> <span class="n">Pelican</span><span class="o">!</span>
</code></pre></div>
<p>Make the html source and start a server, this is going to use the <a href="http://www.gnu.org/software/make/">Make tool</a> to generate html source to <code>./output</code> and start a simple server (<a href="https://docs.python.org/2/library/simplehttpserver.html">python SimpleHTTPServer</a>).</p>
<div class="highlight"><pre><span></span><code>$ make html <span class="o">&&</span> make serve
</code></pre></div>
<p>Now, check your blog in your browser at <code>localhost:8000/</code>.</p>
<p>To publish your blog and make it all automated, start by pushing the source to github:</p>
<div class="highlight"><pre><span></span><code>$ git add -A
$ git commit -m <span class="s2">"Initial commit"</span>
$ git push origin src
</code></pre></div>
<h3>Setup Travis</h3>
<p>Travis is going to checkout the code and push the output of <code>make html</code> to your <code>master</code> branch. Go to <a href="https://travis-ci.org/">travis-ci.org</a> and make an account.
Link it with your github account, sync travis to fetch your github repositories and flick the repo <code><profile_name>/<profile_name>.github.io</code> switch on.</p>
<p>Now, for this to work, add a file <code>.travis.yml</code> to your repo, with the following content:</p>
<div class="highlight"><pre><span></span><code><span class="n">language</span><span class="o">:</span> <span class="n">python</span>
<span class="n">branches</span><span class="o">:</span>
<span class="n">only</span><span class="o">:</span>
<span class="o">-</span> <span class="n">src</span>
<span class="n">install</span><span class="o">:</span>
<span class="o">-</span> <span class="n">pip</span> <span class="n">install</span> <span class="o">-</span><span class="n">r</span> <span class="n">requirements</span><span class="o">.</span><span class="na">txt</span>
<span class="n">script</span><span class="o">:</span>
<span class="o">-</span> <span class="n">make</span> <span class="n">github</span>
</code></pre></div>
<p>Also, to do the trick of publishing the <code>output</code> folder in <code>src</code> branch to <code>master</code> branch, you need to edit the <code>github</code> step in the <code>Makefile</code>:</p>
<div class="highlight"><pre><span></span><code><span class="o">...</span>
<span class="n">github</span><span class="p">:</span> <span class="n">publish</span>
<span class="n">ghp</span><span class="o">-</span><span class="kn">import</span> <span class="o">-</span><span class="n">m</span> <span class="s2">"Generate Pelican site"</span> <span class="o">-</span><span class="n">b</span> <span class="err">$</span><span class="p">(</span><span class="n">GITHUB_PAGES_BRANCH</span><span class="p">)</span> <span class="err">$</span><span class="p">(</span><span class="n">OUTPUTDIR</span><span class="p">)</span>
<span class="nd">@git</span> <span class="n">push</span> <span class="o">-</span><span class="n">fq</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="err">$</span><span class="p">{</span><span class="n">GH_TOKEN</span><span class="p">}</span><span class="nd">@github.com</span><span class="o">/</span><span class="err">$</span><span class="p">(</span><span class="n">TRAVIS_REPO_SLUG</span><span class="p">)</span><span class="o">.</span><span class="n">git</span> <span class="err">$</span><span class="p">(</span><span class="n">GITHUB_PAGES_BRANCH</span><span class="p">)</span> <span class="o">></span> <span class="o">/</span><span class="n">dev</span><span class="o">/</span><span class="n">null</span>
<span class="o">...</span>
</code></pre></div>
<p>Since travis will push to your repo, it has to authenticate on Github, and you can set it up by generating an <a href="https://developer.github.com/v3/oauth/">OAuth Token</a> on <a href="https://github.com/settings/tokens">Github settings</a>. Click on <code>Generate new token</code> and give the <code>repo</code> permission.
To keep it secret, use the travis app to encrypt it and add the encrypted token to your <code>.travis.yml</code>:</p>
<div class="highlight"><pre><span></span><code>$ brew install ruby <span class="c1"># if you don't have ruby installed</span>
$ gem install travis -v <span class="m">1</span>.7.6 --no-rdoc --no-ri <span class="c1"># install travis command line</span>
$ travis encrypt <span class="nv">GH_TOKEN</span><span class="o">=</span><generated_token> --add
</code></pre></div>
<p>Finally, push the source and watch the magic at <code>https://travis-ci.org/<profile_name>/<profile_name>.github.io</code>. If you got everything right, your blog will be at <code>http://<profile_name>.github.io/</code>.</p>
<div class="highlight"><pre><span></span><code>$ git add Makefile <span class="o">&&</span> git commit -m <span class="s2">"trick to publish html (src -> master)"</span>
$ git add .travis.yml <span class="o">&&</span> git commit -m <span class="s2">"travis setup"</span>
$ git push origin src
</code></pre></div>
<p>That's it folks! Stay tuned for more cs, programming, hacking and data science content!</p>
</div>
<!-- /.entry-content -->
<footer class="post-info text-muted">
<button type="button" class="btn btn-default">
<a href="/category/tutorial.html"><div class="fa fa-lg fa-folder-open"></div> tutorial</a>
</button>
<button type="button" class="btn btn-default">
<a href="/tag/tutorial.html"><div class="fa fa-lg fa-tag"></div> tutorial</a>
</button>
<button type="button" class="btn btn-default">
<a href="/tag/python.html"><div class="fa fa-lg fa-tag"></div> python</a>
</button>
<button type="button" class="btn btn-default">
<a href="/tag/blog.html"><div class="fa fa-lg fa-tag"></div> blog</a>
</button>
<button type="button" class="btn btn-default">
<a href="/tag/pelican.html"><div class="fa fa-lg fa-tag"></div> pelican</a>
</button>
<button type="button" class="btn btn-default">
<a href="/tag/github.html"><div class="fa fa-lg fa-tag"></div> github</a>
</button>
</footer>
<!-- /.post-info -->
<!-- Comment BEGIN -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'lucasbrunialti';
(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>
<!-- Comment END -->
</section>
</div>
<footer class="footer">
<div class="container">
<p class="footer-text">© <a href="">lucasbrunialti</a> powered by <a href="http://getpelican.com/">pelican</a> and <a href="http://nodotcom.org">nikhil</a></p>
</div>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<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', 'UA-62552412-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>