-
Notifications
You must be signed in to change notification settings - Fork 321
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 3feb8ed
Showing
139 changed files
with
2,275 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,4 @@ | ||
_site | ||
.sass-cache | ||
node_modules | ||
_drafts |
Empty file.
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,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Victor Igor <[email protected]> | ||
http://victorvoid.github.io | ||
|
||
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. |
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,2 @@ | ||
|
||
|
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,51 @@ | ||
# Site settings | ||
title: Lorem Ipsum - Web Developer | ||
description: "A blog about lorem ipsum ..." | ||
baseurl: "" # the subpath of your site, e.g. /blog | ||
url: "http://victorvoid.github.io" | ||
|
||
# User settings | ||
username: lorem ipsum | ||
user_title: Lorem Ipsum - FrontEnd | ||
email: [email protected] | ||
twitter_username: loremipsum | ||
github_username: loremipsum | ||
gplus_username: loremipsum | ||
disqus_username: loremipsum | ||
|
||
# Build settings | ||
markdown: kramdown | ||
highlighter: rouge | ||
permalink: /:title/ | ||
|
||
|
||
# html minify | ||
compress_html: | ||
clippings: all | ||
comments: all | ||
endings: [] | ||
profile: false | ||
|
||
# Links to include in menu navigation | ||
# For external links add external: true | ||
links: | ||
- title: home | ||
url: / | ||
- title: my posts | ||
url: /posts | ||
- title: series | ||
url: /series | ||
- title: tags | ||
url: /tags | ||
- title: About me | ||
url: /about | ||
# projects in header index | ||
projects: | ||
- name: asciilang | ||
url: https://github.com/victorvoid/asciilang | ||
- name: vim-frontend | ||
url: https://github.com/victorvoid/vim-frontend | ||
- name: generator-capybara | ||
url: https://github.com/victorvoid/generator-capybara | ||
# exclude my node related stuff | ||
exclude: ['package.json', 'src', 'node_modules'] |
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,26 @@ | ||
<section class="comments"> | ||
<h3>Comentários</h3> | ||
<div id="disqus_thread"></div> | ||
</section> | ||
<script type="text/javascript"> | ||
var disqus_loaded = false; | ||
|
||
function load_disqus() | ||
{ | ||
disqus_loaded = true; | ||
var disqus_shortname = '{{site.disqus_username}}'; | ||
var disqus_title = '{{page.title.replace("'", "\\'")}}'; | ||
var disqus_url = '{{page.url}}'; | ||
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); | ||
var ldr = document.getElementById('disqus_loader'); | ||
}; | ||
window.onscroll = function(e) { | ||
if ((window.innerHeight + window.scrollY) >= (document.body.offsetHeight - 800)) { | ||
//hit bottom of page | ||
if (disqus_loaded==false) | ||
load_disqus() | ||
} | ||
}; | ||
</script> |
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,3 @@ | ||
<footer> | ||
<p>Made with <span id="heart">💚</span></p> | ||
</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,64 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
|
||
<!-- Google Authorship Markup --> | ||
<link rel="author" href="https://plus.google.com/{{site.gplus_username}}?rel=author"> | ||
|
||
<!-- Social: Twitter --> | ||
<meta name="twitter:card" content="summary_large_image"> | ||
<meta name="twitter:site" content="@{{site.twitter_username}}"> | ||
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> | ||
<meta name="twitter:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
{% if page.image %} | ||
<meta property="twitter:image:src" content="{{ site.url }}{{page.image }}"> | ||
{% else %} | ||
<meta property="twitter:image:src" content="{{ "/assets/img/blog-image.png" | prepend: site.baseurl | prepend: site.url }}"> | ||
{% endif %} | ||
|
||
<!-- Social: Facebook / Open Graph --> | ||
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> | ||
{% if page.image %} | ||
<meta property="og:image" content="{{ site.url }}{{page.image }}"> | ||
{% else %} | ||
<meta property="og:image" content="{{ "/assets/img/blog-image.png" | prepend: site.baseurl | prepend: site.url }}"> | ||
{% endif %} | ||
<meta property="og:description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
<meta property="og:site_name" content="{{ site.title }}"> | ||
|
||
<!-- Social: Google+ / Schema.org --> | ||
<meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"/> | ||
<meta itemprop="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
<meta itemprop="image" content="{{ "/assets/img/blog-image.png" | prepend: site.baseurl | prepend: site.url }}"/> | ||
|
||
<!-- Favicon --> | ||
<link rel="shortcut icon" href="{{site.baseurl}}/assets/img/icons/favicon.ico" type="image/x-icon" /> | ||
<!-- Apple Touch Icons --> | ||
<link rel="apple-touch-icon" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon.png" /> | ||
<link rel="apple-touch-icon" sizes="57x57" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-57x57.png" /> | ||
<link rel="apple-touch-icon" sizes="72x72" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-72x72.png" /> | ||
<link rel="apple-touch-icon" sizes="114x114" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-114x114.png" /> | ||
<link rel="apple-touch-icon" sizes="144x144" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-144x144.png" /> | ||
<link rel="apple-touch-icon" sizes="60x60" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-60x60.png" /> | ||
<link rel="apple-touch-icon" sizes="120x120" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-120x120.png" /> | ||
<link rel="apple-touch-icon" sizes="76x76" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-76x76.png" /> | ||
<link rel="apple-touch-icon" sizes="152x152" href="{{site.baseurl}}/assets/img/icons/apple-touch-icon-152x152.png" /> | ||
<!-- Windows 8 Tile Icons --> | ||
<meta name="application-name" content="{{site.username}} Blog"> | ||
<meta name="msapplication-TileColor" content="#5d4d7a"> | ||
<meta name="msapplication-square70x70logo" content="smalltile.png" /> | ||
<meta name="msapplication-square150x150logo" content="mediumtile.png" /> | ||
<meta name="msapplication-wide310x150logo" content="widetile.png" /> | ||
<meta name="msapplication-square310x310logo" content="largetile.png" /> | ||
<!-- Android Lolipop Theme Color --> | ||
<meta name="theme-color" content="#5d4d7a"> | ||
|
||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" /> | ||
</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,30 @@ | ||
<header class="header-site" role="banner"> | ||
<div class="content"> | ||
<div class="person"> | ||
<img src="https://s-media-cache-ak0.pinimg.com/564x/9d/4d/31/9d4d314ec7722d05541111a180e4e54b.jpg" alt=""> | ||
</div> | ||
<h1> | ||
<span class="site-title">[{{site.username}}]</span> | ||
</h1> | ||
<div class="icons-home"> | ||
<a aria-label="Send email" href="mailto:{{site.email}}"><svg class="icon icon-email"><use xlink:href="#icon-email"></use></svg></a> | ||
<a aria-label="My Twitter" target="_blank" href="https://twitter.com/{{site.twitter_username}}"><svg class="icon icon-twitter"><use xlink:href="#icon-twitter"></use></svg></a> | ||
<a aria-label="My Google Plus" target="_blank" href="https://plus.google.com/{{site.gplus_username}}/posts"><svg class="icon icon-google-plus"><use xlink:href="#icon-google-plus"></use></svg></a> | ||
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><svg class="icon icon-github-alt"><use xlink:href="#icon-github-alt"></use></svg></a> | ||
<a aria-label="Use the RSS to get updated" target="_blank" href="{{ "/feed.xml" | prepend: site.baseurl }}"><svg class="icon icon-rss"><use xlink:href="#icon-rss"></use></svg></a> | ||
</div> | ||
<ul class="recent"> | ||
<p>Posts recentes:</p> | ||
{% for post in site.posts limit:3%} | ||
<li><a href="{{ post.url | prepend: site.baseurl }}"><h2 class="post-title" itemprop="name">{{ post.title }}</h2></a></li> | ||
{% endfor %} | ||
</ul> | ||
<ul class="recent"> | ||
<p>Projetos recentes:</p> | ||
{% for project in site.projects limit:3%} | ||
<li><a href="{{ project.url}}"><h2 class="post-title" itemprop="name">{{ project.name }}</h2></a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% include menu-search.html %} | ||
</header> |
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,4 @@ | ||
<header class="header-post" role="banner"> | ||
<p>λ</p> | ||
{% include menu-search.html %} | ||
</header> |
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,53 @@ | ||
<div class="search-wrapper"> | ||
<div class="search-form"> | ||
<input type="text" class="search-field" placeholder="Search..."> | ||
<svg class="icon-remove-sign"><use xlink:href="#icon-close"></use></svg> | ||
<ul class="search-results search-list"></ul> | ||
</div> | ||
</div> | ||
|
||
<div id="fade" class="overlay"></div> | ||
<a id="slide" class="slideButton fade"> | ||
<svg id="open" class="icon-menu"><use xlink:href="#icon-menu"></use></svg> | ||
<svg id="close" class="icon-menu"><use xlink:href="#icon-close"></use></svg> | ||
</a> | ||
<aside id="sidebar"> | ||
<div id="topmenu"> | ||
{% assign filename = page.url | replace_first: '/', '' | replace: '/', '-' | replace: '.html', '.md' %} | ||
<ul> | ||
<li><span>1</span></li> | ||
<li><span> {{page.url}}</span></li> | ||
<li><span>⌘ blogspace λ </span></li> | ||
<li><span>* Menu</span></li> | ||
</ul> | ||
<ul> | ||
<li><span>utf-8</span></li> | ||
<li><span>web</span></li> | ||
<li><span>.html</span></li> | ||
</ul> | ||
</div> | ||
<nav id="navigation"> | ||
<!-- <h2>MENU</h2> --> | ||
<ul> | ||
{% assign counter=1 %} | ||
{% for link in site.links %} | ||
{% if link.external %} | ||
<li><a href="{{ link.url }}">{{ link.title }}</a></li> | ||
{% else %} | ||
<li><span class="counter-menu">{{counter}}</span><svg viewBox="0 0 50 50" class="icon-arrow-menu"><use xlink:href="#icon-right-arrow"></use></svg><a href="{{ site.url }}{{ link.url }}"> {{ link.title }}</a></li> | ||
{% endif %} | ||
|
||
{% assign counter=counter | plus:1 %} | ||
{% endfor %} | ||
</ul> | ||
<ul> | ||
<li><span class="counter-menu">g</span><svg viewBox="0 0 50 50" class="icon-arrow-menu"><use xlink:href="#icon-right-arrow"></use></svg><a target="_blank" href="http://github.com/{{site.github_username}}" class="search">github</a></li> | ||
<li><span class="counter-menu">p</span><svg viewBox="0 0 50 50" class="icon-arrow-menu"><use xlink:href="#icon-right-arrow"></use></svg><a href="/posts" class="">posts</a></li> | ||
<li><span class="counter-menu">s</span><svg viewBox="0 0 50 50" class="icon-arrow-menu"><use xlink:href="#icon-right-arrow"></use></svg><a class="search">search</a></li> | ||
<li><span class="counter-menu">t</span><svg viewBox="0 0 50 50" class="icon-arrow-menu"><use xlink:href="#icon-right-arrow"></use></svg><a target="_blank" href="http://twitter.com/{{site.twitter_username}}">twitter</a></li> | ||
</ul> | ||
</nav> | ||
</aside> | ||
<a id="search" class="dosearch"> | ||
<svg class="icon-menu icon-search"><use xlink:href="#icon-search"></use></svg> | ||
</a> |
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 @@ | ||
<script src="{{ "/assets/js/main.js" | prepend: site.baseurl }}"></script> |
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,15 @@ | ||
<section class="share"> | ||
<h3>Share</h3> | ||
<a aria-label="Share on Twitter" href="https://twitter.com/intent/tweet?text="{{ page.twitter_text }}"%20{{ site.url }}{{ page.url }}%20via%20@{{ site.twitter_username }}&hashtags={% for tag in page.tags %}{{tag}},{% endfor %}" | ||
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;" title="Share on Twitter"> | ||
<svg class="icon icon-twitter"><use xlink:href="#icon-twitter"></use></svg> | ||
</a> | ||
<a aria-label="Share on Facebook"href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" | ||
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;" title="Share on Facebook"> | ||
<svg class="icon icon-facebook"><use xlink:href="#icon-facebook"></use></svg> | ||
</a> | ||
<a aria-label="Share on Google Plus" href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" | ||
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;" title="Share on Google+"> | ||
<svg class="icon icon-google-plus"><use xlink:href="#icon-google-plus"></use></svg> | ||
</a> | ||
</section> |
Oops, something went wrong.