Skip to content

Commit bbe739c

Browse files
committed
First commit
1 parent 3a34785 commit bbe739c

20 files changed

+486
-606
lines changed

_config.yml

+27-21
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,22 @@ highlighter: pygments
88
# Themes are encouraged to use these universal variables
99
# so be sure to set them if your theme uses them.
1010
#
11-
title : Jekyll Bootstrap
12-
tagline: Site Tagline
11+
title : Natan Laverde
12+
tagline: Blog
1313
author :
14-
name : Name Lastname
15-
email : blah@email.test
16-
github : username
17-
twitter : username
18-
feedburner : feedname
14+
name : Natan Laverde
15+
email : natanlaverde@gmail.com
16+
github : natanlaverde
17+
twitter : natanlaverde
18+
facebook: natanlaverde
19+
lattes: K4304854P4
20+
google:
21+
plus: +NatanLaverde
22+
# feedburner : feedname
1923

24+
description:
25+
Natan de Almeida Laverde é mestrando em Ciências da Computação e
26+
Matemática Computacional pela USP e formado em Ciência da Computação pela UEL.
2027
# The production_url is only used when full-domain names are needed
2128
# such as sitemap.txt
2229
# Most places will/should use BASE_PATH to make the urls
@@ -25,7 +32,7 @@ author :
2532
# Else if you are pushing to username.github.io, replace with your username.
2633
# Finally if you are pushing to a GitHub project page, include the project name at the end.
2734
#
28-
production_url : http://username.github.io
35+
production_url : http://natanlaverde.github.io
2936

3037
# All Jekyll-Bootstrap specific configurations are namespaced into this hash
3138
#
@@ -82,19 +89,18 @@ JB :
8289
comments :
8390
provider : disqus
8491
disqus :
85-
short_name : jekyllbootstrap
86-
livefyre :
87-
site_id : 123
88-
intensedebate :
89-
account : 123abc
90-
facebook :
91-
appid : 123
92-
num_posts: 5
93-
width: 580
94-
colorscheme: light
95-
duoshuo :
96-
short_name : jekyllbootstrap
97-
92+
short_name : natanlaverde
93+
# livefyre :
94+
# site_id : 123
95+
# intensedebate :
96+
# account : 123abc
97+
# facebook :
98+
# appid : 123
99+
# num_posts: 5
100+
# width: 580
101+
# colorscheme: light
102+
# duoshuo :
103+
# short_name : jekyllbootstrap
98104
# Settings for analytics helper
99105
# Set 'provider' to the analytics provider you want to use.
100106
# Set 'provider' to false to turn analytics off globally.

_drafts/jekyll-introduction-draft.md

-10
This file was deleted.

_includes/JB/categories_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ Usage:
2323
{% if categories_list.first[0] == null %}
2424
{% for category in categories_list %}
2525
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category }}-ref">
26-
{{ category | join: "/" }} <span>{{ site.categories[category].size }}</span>
26+
{{ category | join: "/" }} <span class="badge">{{ site.categories[category].size }}</span>
2727
</a></li>
2828
{% endfor %}
2929
{% else %}
3030
{% for category in categories_list %}
3131
<li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category[0] }}-ref">
32-
{{ category[0] | join: "/" }} <span>{{ category[1].size }}</span>
32+
{{ category[0] | join: "/" }} <span class="badge">{{ category[1].size }}</span>
3333
</a></li>
3434
{% endfor %}
3535
{% endif %}

_includes/JB/pages_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Usage:
2727
{% if node.title != null %}
2828
{% if group == null or group == node.group %}
2929
{% if page.url == node.url %}
30-
<li class="active"><a href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a></li>
30+
<a class="blog-nav-item active" href="{{ BASE_PATH }}{{node.url}}" class="active">{{node.title}}</a>
3131
{% else %}
32-
<li><a href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a></li>
32+
<a class="blog-nav-item" href="{{ BASE_PATH }}{{node.url}}">{{node.title}}</a>
3333
{% endif %}
3434
{% endif %}
3535
{% endif %}

_includes/JB/posts_collate

+11-8
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,33 @@ Usage:
2222
{% else %}
2323
{% for post in posts_collate %}
2424
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
25-
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
25+
{% capture this_month %}{{ post.date | date: "%m" }}{% endcapture %}
2626
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
2727
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
2828

2929
{% if forloop.first %}
30-
<h2>{{this_year}}</h2>
31-
<h3>{{this_month}}</h3>
30+
<h5>{{this_year}}</h5>
31+
{% assign m = this_month %}
32+
<h6>{% include date_month %}</h6>
3233
<ul>
3334
{% endif %}
34-
35-
<li><span>{{ post.date | date: "%B %e, %Y" }}</span> &raquo; <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
35+
{% assign date = post.date %}
36+
<li><span>{% include date_format %}</span> &raquo; <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li>
3637

3738
{% if forloop.last %}
3839
</ul>
3940
{% else %}
4041
{% if this_year != next_year %}
4142
</ul>
42-
<h2>{{next_year}}</h2>
43-
<h3>{{next_month}}</h3>
43+
<h5>{{next_year}}</h5>
44+
{% assign m = next_month %}
45+
<h6>{% include date_month %}</h6>
4446
<ul>
4547
{% else %}
4648
{% if this_month != next_month %}
4749
</ul>
48-
<h3>{{next_month}}</h3>
50+
{% assign m = next_month %}
51+
<h6>{% include date_month %}</h6>
4952
<ul>
5053
{% endif %}
5154
{% endif %}

_includes/JB/tags_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Usage:
2222
{% else %}
2323
{% if tags_list.first[0] == null %}
2424
{% for tag in tags_list %}
25-
<li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li>
25+
<li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }} <span class="badge">{{ site.tags[tag].size }}</span></a></li>
2626
{% endfor %}
2727
{% else %}
2828
{% for tag in tags_list %}
29-
<li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li>
29+
<li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span class="badge">{{ tag[1].size }}</span></a></li>
3030
{% endfor %}
3131
{% endif %}
3232
{% endif %}

_includes/date_format

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% if date == nil %}
2+
{% assign date = page.date %}
3+
{% endif %}
4+
{% assign m = date | date: "%-m" %}
5+
{{ date | date: "%-d" }}
6+
de
7+
{% case m %}
8+
{% when '1' %}Janeiro
9+
{% when '2' %}Fevereiro
10+
{% when '3' %}Março
11+
{% when '4' %}Abril
12+
{% when '5' %}Maio
13+
{% when '6' %}Junho
14+
{% when '7' %}Julho
15+
{% when '8' %}Agosto
16+
{% when '9' %}Setembro
17+
{% when '10' %}Outobro
18+
{% when '11' %}Novembro
19+
{% when '12' %}Dezembro
20+
{% endcase %}
21+
de
22+
{{ date | date: "%Y" }}
23+
{% assign date = nil %}

_includes/date_month

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% case m %}
2+
{% when '1' %}Janeiro
3+
{% when '2' %}Fevereiro
4+
{% when '3' %}Março
5+
{% when '4' %}Abril
6+
{% when '5' %}Maio
7+
{% when '6' %}Junho
8+
{% when '7' %}Julho
9+
{% when '8' %}Agosto
10+
{% when '9' %}Setembro
11+
{% when '10' %}Outobro
12+
{% when '11' %}Novembro
13+
{% when '12' %}Dezembro
14+
{% endcase %}
15+
{% assign m = nil %}

_includes/themes/bootstrap-3/default.html

+73-39
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020

2121
<!-- Custom styles -->
2222
<link href="{{ ASSET_PATH }}/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
23-
2423
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
2524
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
2625
<!--[if lt IE 9]>
2726
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
2827
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
2928
<![endif]-->
3029

30+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
31+
3132
<!-- Fav and touch icons -->
3233
<!-- Update these with your own images
3334
<link rel="shortcut icon" href="images/favicon.ico">
@@ -43,49 +44,82 @@
4344
</head>
4445

4546
<body>
46-
<div id="wrap">
47-
<nav class="navbar navbar-default" role="navigation">
48-
<!-- Brand and toggle get grouped for better mobile display -->
49-
<div class="navbar-header">
50-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#jb-navbar-collapse">
51-
<span class="sr-only">Toggle navigation</span>
52-
<span class="icon-bar"></span>
53-
<span class="icon-bar"></span>
54-
<span class="icon-bar"></span>
55-
</button>
56-
<a class="navbar-brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
57-
</div>
58-
59-
<!-- Collect the nav links, forms, and other content for toggling -->
60-
<div class="collapse navbar-collapse" id="jb-navbar-collapse">
61-
<ul class="nav navbar-nav">
62-
{% assign pages_list = site.pages %}
63-
{% assign group = 'navigation' %}
64-
{% include JB/pages_list %}
65-
</ul>
66-
<form class="navbar-form navbar-right" role="search">
67-
<div class="form-group">
68-
<input type="text" class="form-control" placeholder="Search">
69-
</div>
70-
<button type="submit" class="btn btn-default">Submit</button>
71-
</form>
72-
</div><!-- /.navbar-collapse -->
73-
</nav>
74-
47+
48+
<div class="blog-masthead">
7549
<div class="container">
76-
{{ content }}
50+
<nav class="blog-nav">
51+
{% if page.url == "/index.html" %}
52+
<a class="blog-nav-item active" href="{{ BASE_PATH }}/index.html" class="active">{{page.title}}</a>
53+
{% else %}
54+
<a class="blog-nav-item" href="{{ BASE_PATH }}/index.html">Início</a>
55+
{% endif %}
56+
{% assign pages_list = site.pages %}
57+
{% assign group = 'navigation' %}
58+
{% include JB/pages_list %}
59+
</nav>
7760
</div>
78-
7961
</div>
8062

81-
<div id="footer">
82-
<div class="container">
83-
<p>&copy; {{ site.time | date: '%Y' }} {{ site.author.name }}
84-
with help from <a href="http://jekyllbootstrap.com" target="_blank" title="The Definitive Jekyll Blogging Framework">Jekyll Bootstrap</a>
85-
and <a href="http://getbootstrap.com" target="_blank">Bootstrap</a>
86-
</p>
63+
<div class="container">
64+
65+
<div class="blog-header">
66+
<h1 class="blog-title">{{ site.title }}</h1>
67+
{% if site.tagline %}
68+
<p class="lead blog-description">{{ site.tagline }}</p>
69+
{% endif %}
8770
</div>
88-
</div>
71+
72+
<div class="col-sm-8 blog-main">
73+
{{ content }}
74+
</div><!-- /.blog-main -->
75+
<div class="col-sm-3 col-sm-offset-1 blog-sidebar">
76+
<div class="sidebar-module sidebar-module-inset">
77+
<h4><a href="{{ BASE_PATH }}/about.html">Sobre</a></h4>
78+
<div>
79+
<img class="img-rounded" src="http://www.gravatar.com/avatar/455386412a8e3c86732576b5a9b1f0ad?s=170" alt="Natan" title="Natan"/>
80+
</div>
81+
<p>
82+
{{ site.description }}
83+
</p>
84+
</div>
85+
<div class="sidebar-module">
86+
<h4><a href="{{ BASE_PATH }}/archive.html"><i class="fa fa-folder-open"></i> Arquivo</a></h4>
87+
{% include JB/setup %}
88+
{% assign posts_collate = site.posts %}
89+
{% include JB/posts_collate %}
90+
</div>
91+
<div class="sidebar-module">
92+
<h4><a href="{{ BASE_PATH }}/categories.html"><i class="fa fa-tag"></i> Categorias</a></h4>
93+
{% assign categories_list = site.categories %}
94+
{% include JB/categories_list %}
95+
</div>
96+
<div class="sidebar-module">
97+
<h4><a href="{{ BASE_PATH }}/tags.html"><i class="fa fa-tags"></i> Tags</a></h4>
98+
{% assign tags_list = site.tags %}
99+
{% include JB/tags_list %}
100+
</div>
101+
<div class="sidebar-module">
102+
<h4><a href="{{ BASE_PATH }}/about.html#links">Links</a></h4>
103+
<ol class="list-unstyled">
104+
<li><a href="https://github.com/{{ site.author.github }}"><i class="fa fa-github"></i> Github</a></li>
105+
<li><a href="https://facebook.com/{{ site.author.facebook }}"><i class="fa fa-facebook-square"></i> Facebook</a></li>
106+
<li><a href="https://plus.google.com/{{ site.author.google.plus }}"><i class="fa fa-google-plus"></i> Google Plus</a></li>
107+
<li><a href="http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id={{ site.author.lattes }}"><span><img src="{{ BASE_PATH }}/assets/lattes.svg"/></span> Lattes</a></li>
108+
</ol>
109+
</div>
110+
</div><!-- /.blog-sidebar -->
111+
</div><!-- /.container -->
112+
113+
114+
<footer class="blog-footer">
115+
<p>Natan de Almeida Laverde - 2015</p>
116+
<p>
117+
<a href="http://creativecommons.org/licenses/by/4.0/deed.pt"><i class="fa fa-creative-commons"></i> Conteúdo sob licença Creative Commons CC BY 4.0.</a>
118+
</p>
119+
<p>
120+
<a href="#">Voltar ao topo.</a>
121+
</p>
122+
</footer>
89123

90124
{% include JB/analytics %}
91125

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<div class="page-header">
1+
<!-- <div class="page-header">
22
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
33
</div>
4-
5-
<div class="row">
6-
<div class="col-xs-12">
7-
{{ content }}
8-
</div>
9-
</div>
4+
-->
5+
<div class="blog-post">
6+
<h2 class="blog-post-title">{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h2>
7+
<div class="content">
8+
{{ content }}
9+
</div>
10+
</div><!-- /.blog-post -->

0 commit comments

Comments
 (0)