Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagorossener committed Sep 10, 2017
0 parents commit 3c56408
Show file tree
Hide file tree
Showing 96 changed files with 4,826 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
.DS_Store
.sass-cache
_site
node_modules
_drafts
19 changes: 19 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: default
permalink: /404.html
---

<style type="text/css" media="screen">
.container {
margin: 0px auto;
max-width: 600px;
text-align: center;
padding-top: 60px;
}
</style>

<div class="container">
<img src="/assets/img/404.gif" width="100%" alt="404 - Page not found">
<p><strong>Page not found :(</strong></p>
<p>I'm sorry. We couldn't find the page you are looking for.</p>
</div>
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'rouge'
gem 'jekyll'
gem 'jemoji'
78 changes: 78 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.9)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
colorator (1.1.0)
ffi (1.9.18)
forwardable-extended (2.6.0)
gemoji (3.0.0)
html-pipeline (2.6.0)
activesupport (>= 2)
nokogiri (>= 1.4)
i18n (0.8.6)
jekyll (3.5.1)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-redirect-from (0.12.1)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
jemoji (0.8.0)
activesupport (~> 4.0)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
kramdown (1.14.0)
liquid (4.0.0)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.2.0)
minitest (5.10.3)
nokogiri (1.8.0)
mini_portile2 (~> 2.2.0)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.6)
tzinfo (1.2.3)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
jekyll
jekyll-redirect-from
jemoji
rouge

BUNDLED WITH
1.15.3
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2017 Thiago Rossener <[email protected]>
http://www.rossener.com/

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.
43 changes: 43 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Site Settings
title: Your Blog Title
email: [email protected]
description: Some text about your blog.
baseurl: ""
url: "https://www.your-blog-url.com"
google_analytics: "UA-XXXXXXXX-X"

# User Settings
username: Your Name
user_description: Some text about you.
disqus_username: disqus_username

# Social Media
# Remove the item if you don't need it
github_username: github_username
facebook_username: facebook_username
twitter_username: twitter_username
instagram_username: instagram_username
linkedin_username: linkedin_username
medium_username: medium_username

# Build settings
markdown: kramdown
highlighter: rouge
permalink: /:title/

# Plugins
gems:
- jemoji

# Links to include in menu navigation
# For external links add external: true
links:
- title: Home
url: /
- title: About
url: /about/
- title: Contact
url: /contact/

# Exclude my node related stuff
exclude: ['package.json', 'src', 'node_modules']
42 changes: 42 additions & 0 deletions _includes/author.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<section class="author" itemprop="author">
<div class="details" itemscope itemtype="http://schema.org/Person">
<img itemprop="image" class="img-rounded" src="http://res.cloudinary.com/dm7h7e8xj/image/upload/c_fill,h_200,w_200/v1504971955/neo_ruqszk.jpg" alt="{{ site.name }}">
<p class="def">Author</p>
<h3 class="name">
<a itemprop="name" href="https://github.com/{{ site.github_username }}">{{ site.username }}</a>
</h3>
<p class="desc">{{ site.user_description }}</p>
<p>
{% if site.github_username %}
<a itemprop="github" href="https://github.com/{{ site.github_username }}" title="Github">
<svg><use xlink:href="#icon-github"></use></svg>
</a>
{% endif %}
{% if site.facebook_username %}
<a itemprop="facebook" href="https://www.facebook.com/{{ site.facebook_username }}" title="Facebook">
<svg><use xlink:href="#icon-facebook"></use></svg>
</a>
{% endif %}
{% if site.twitter_username %}
<a itemprop="twitter" href="https://twitter.com/{{ site.twitter_username }}" title="Twitter">
<svg><use xlink:href="#icon-twitter"></use></svg>
</a>
{% endif %}
{% if site.medium_username %}
<a itemprop="medium" href="https://medium.com/@{{ site.medium_username }}" title="Twitter">
<svg><use xlink:href="#icon-medium"></use></svg>
</a>
{% endif %}
{% if site.instagram_username %}
<a itemprop="instagram" href="https://www.instagram.com/{{ site.instagram_username }}" title="Instagram">
<svg><use xlink:href="#icon-instagram"></use></svg>
</a>
{% endif %}
{% if site.linkedin_username %}
<a itemprop="linkedin" href="https://www.linkedin.com/in/{{ site.linkedin_username }}" title="LinkedIn">
<svg><use xlink:href="#icon-linkedin"></use></svg>
</a>
{% endif %}
</p>
</div>
</section>
26 changes: 26 additions & 0 deletions _includes/comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<section class="comments">
<h3>Comments</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>
4 changes: 4 additions & 0 deletions _includes/date.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% assign months = "January,February,Mark,April,May,June,July,August,September,October,November,December" | split: "," %}
{% assign month_number = include.date | date: "%-m" | minus: 1 %}

{{ months[month_number] }} {{ include.date | date: "%-d" }}, {{ include.date | date: "%Y" }}
43 changes: 43 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<footer>
<p>
{% if site.github_username %}
<a itemprop="github" href="https://github.com/{{ site.github_username }}" title="Github">
<svg><use xlink:href="#icon-github"></use></svg>
</a>
{% endif %}
{% if site.facebook_username %}
<a itemprop="facebook" href="https://www.facebook.com/{{ site.facebook_username }}" title="Facebook">
<svg><use xlink:href="#icon-facebook"></use></svg>
</a>
{% endif %}
{% if site.twitter_username %}
<a itemprop="twitter" href="https://twitter.com/{{ site.twitter_username }}" title="Twitter">
<svg><use xlink:href="#icon-twitter"></use></svg>
</a>
{% endif %}
{% if site.medium_username %}
<a itemprop="medium" href="https://medium.com/@{{ site.medium_username }}" title="Twitter">
<svg><use xlink:href="#icon-medium"></use></svg>
</a>
{% endif %}
{% if site.instagram_username %}
<a itemprop="instagram" href="https://www.instagram.com/{{ site.instagram_username }}" title="Instagram">
<svg><use xlink:href="#icon-instagram"></use></svg>
</a>
{% endif %}
{% if site.linkedin_username %}
<a itemprop="linkedin" href="https://www.linkedin.com/in/{{ site.linkedin_username }}" title="LinkedIn">
<svg><use xlink:href="#icon-linkedin"></use></svg>
</a>
{% endif %}
</p>
<ul>
{% for link in site.links %}
<li><a href="{{ site.url }}{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
<li><a class="feed" href="{{ site.url }}{{site.baseurl}}/feed.xml" title="Atom/RSS feed">Feed</a></li>
</ul>
<p><span>Jekflix</span> was made with <svg class="love"><use xlink:href="#icon-heart"></use></svg> by <a href="http://www.rossener.com" target="_blank" class="creator">Thiago Rossener</a></p>
</footer>
<script src="{{ "/assets/js/main.js" | prepend: site.baseurl }}"></script>
{% include stats.html %}
67 changes: 67 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<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 }} | {{ site.username }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<!-- 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 }} | {{ site.username }}{% 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="{{ 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 }} | {{ site.username }}{% else %}{{ site.title }}{% endif %}">
{% if page.image %}
<meta property="og:image" content="{{ 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 }} | {{ site.username }}{% 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}}/favicon.ico" type="image/x-icon" />

<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" href="/assets/img/icons/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/assets/img/icons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/icons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/icons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/assets/img/icons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/assets/img/icons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/assets/img/icons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/assets/img/icons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/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="#0562DC">
<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="{{ page.color }}">

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Titillium+Web:300,400,700" rel="stylesheet">

<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>
18 changes: 18 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<header class="bar-header">
<a id="menu">
<svg id="open" class="icon-menu"><use xlink:href="#icon-menu"></use></svg>
</a>
<a id="search" class="dosearch">
<svg class="icon-search"><use xlink:href="#icon-search"></use></svg>
</a>
<h1 class="logo">
<a href="{{ site.baseurl }}/">
{{ site.title }}
</a>
</h1>
</header>

<div id="mask" class="overlay"></div>

{% include menu.html %}
{% include search.html %}
11 changes: 11 additions & 0 deletions _includes/menu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<aside id="sidebar">
<nav id="navigation">
<h2>Menu</h2>
<ul>
{% for link in site.links %}
<li><a href="{{ site.url }}{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a></li>
{% endfor %}
<li><a class="feed" href="{{ site.url }}{{site.baseurl}}/feed.xml" title="Atom/RSS feed">Feed</a></li>
</ul>
</nav>
</aside>
Loading

0 comments on commit 3c56408

Please sign in to comment.