-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from GruPyBA/clean-blog-template
adicionado tema clean blog
- Loading branch information
Showing
59 changed files
with
21,482 additions
and
829 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,3 @@ | ||
_site | ||
node_modules | ||
Gemfile.lock |
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,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
group :jekyll_plugins do | ||
gem "jekyll-paginate" | ||
gem "jekyll-feed" | ||
gem "jekyll" | ||
end |
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,74 @@ | ||
module.exports = function(grunt) { | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
uglify: { | ||
main: { | ||
src: 'js/<%= pkg.name %>.js', | ||
dest: 'js/<%= pkg.name %>.min.js' | ||
} | ||
}, | ||
less: { | ||
expanded: { | ||
options: { | ||
paths: ["css"] | ||
}, | ||
files: { | ||
"css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less" | ||
} | ||
}, | ||
minified: { | ||
options: { | ||
paths: ["css"], | ||
cleancss: true | ||
}, | ||
files: { | ||
"css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less" | ||
} | ||
} | ||
}, | ||
banner: '/*!\n' + | ||
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' + | ||
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + | ||
' * Licensed under <%= pkg.license %> (https://spdx.org/licenses/<%= pkg.license %>)\n' + | ||
' */\n', | ||
usebanner: { | ||
dist: { | ||
options: { | ||
position: 'top', | ||
banner: '<%= banner %>' | ||
}, | ||
files: { | ||
src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js'] | ||
} | ||
} | ||
}, | ||
watch: { | ||
scripts: { | ||
files: ['js/<%= pkg.name %>.js'], | ||
tasks: ['uglify'], | ||
options: { | ||
spawn: false, | ||
}, | ||
}, | ||
less: { | ||
files: ['less/*.less'], | ||
tasks: ['less'], | ||
options: { | ||
spawn: false, | ||
} | ||
}, | ||
}, | ||
}); | ||
|
||
// Load the plugins. | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-less'); | ||
grunt.loadNpmTasks('grunt-banner'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
|
||
// Default task(s). | ||
grunt.registerTask('default', ['uglify', 'less', 'usebanner']); | ||
|
||
}; |
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) 2013-2016 Blackrock Digital LLC. | ||
|
||
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,24 @@ | ||
#Clean Blog by Start Bootstrap - Jekyll Version | ||
|
||
The official Jekyll version of the Clean Blog theme by [Start Bootstrap](http://startbootstrap.com/). | ||
|
||
###[View Live Demo →](http://blackrockdigital.github.io/startbootstrap-clean-blog-jekyll/) | ||
|
||
## Before You Begin | ||
|
||
In the _config.yml file, the base URL is set to /startbootstrap-clean-blog-jekyll which is this themes gh-pages preview. It's recommended that you remove the base URL before working with this theme locally! | ||
|
||
It should look like this: | ||
`baseurl: ""` | ||
|
||
## What's Included | ||
|
||
A full Jekyll environment is included with this theme. If you have Jekyll installed, simply run `jekyll serve` in your command line and preview the build in your browser. You can use `jekyll serve --watch` to watch for changes in the source files as well. | ||
|
||
A Grunt environment is also included. There are a number of tasks it performs like minification of the JavaScript, compiling of the LESS files, adding banners to apply the MIT license, and watching for changes. Run the grunt default task by entering `grunt` into your command line which will build the files. You can use `grunt watch` if you are working on the JavaScript or the LESS. | ||
|
||
You can run `jekyll serve --watch` and `grunt watch` at the same time to watch for changes and then build them all at once. | ||
|
||
## Support | ||
|
||
Visit Clean Blog's template overview page on Start Bootstrap at http://startbootstrap.com/template-overviews/clean-blog/ and leave a comment, email [email protected], or open an issue here on GitHub for support. |
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,25 @@ | ||
# Site settings | ||
title: GruPyBA | ||
header-img: img/home-bg.jpg | ||
email: [email protected] | ||
copyright_name: Your/Project/Corporate Name | ||
description: "Write your site description here. It will be used as your sites meta description as well!" | ||
baseurl: "/startbootstrap-clean-blog-jekyll" | ||
url: "http://grupyba.com.br" | ||
twitter_username: | ||
github_username: | ||
facebook_username: | ||
email_username: [email protected] | ||
|
||
# Google Analytics | ||
# To enable google analytics, uncomment below line with a valid Google Tracking ID | ||
# google_tracking_id: | ||
|
||
# Build settings | ||
markdown: kramdown | ||
highlighter: rouge | ||
permalink: pretty | ||
paginate: 5 | ||
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"] | ||
|
||
gems: [jekyll-paginate, jekyll-feed] |
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,69 @@ | ||
<!-- Footer --> | ||
<footer> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
<ul class="list-inline text-center"> | ||
<li> | ||
<a href="{{ "/feed.xml" | prepend: site.baseurl }}"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-rss fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% if site.twitter_username %} | ||
<li> | ||
<a href="https://twitter.com/{{ site.twitter_username }}"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.facebook_username %} | ||
<li> | ||
<a href="https://www.facebook.com/{{ site.facebook_username }}"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.github_username %} | ||
<li> | ||
<a href="https://github.com/{{ site.github_username }}"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-github fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if site.email_username %} | ||
<li> | ||
<a href="mailto:{{ site.email_username }}"> | ||
<span class="fa-stack fa-lg"> | ||
<i class="fa fa-circle fa-stack-2x"></i> | ||
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i> | ||
</span> | ||
</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
<p class="copyright text-muted">Copyright © {{ site.copyright_name }} {{ site.time | date: '%Y' }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<!-- jQuery --> | ||
<script src="{{ "/js/jquery.min.js " | prepend: site.baseurl }}"></script> | ||
|
||
<!-- Bootstrap Core JavaScript --> | ||
<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}"></script> | ||
|
||
<!-- Custom Theme JavaScript --> | ||
<script src="{{ "/js/clean-blog.min.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,12 @@ | ||
{% if site.google_tracking_id %} | ||
<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', '{{ site.google_tracking_id }}', 'auto'); | ||
ga('send', 'pageview'); | ||
|
||
</script> | ||
{% endif %} |
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,35 @@ | ||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="{{ site.description }}"> | ||
|
||
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
|
||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> | ||
|
||
<!-- Bootstrap Core CSS --> | ||
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}"> | ||
|
||
<!-- Custom CSS --> | ||
<link rel="stylesheet" href="{{ "/css/clean-blog.css" | prepend: site.baseurl }}"> | ||
|
||
<!-- Pygments Github CSS --> | ||
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}"> | ||
|
||
<!-- Custom Fonts --> | ||
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> | ||
<link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> | ||
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'> | ||
|
||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | ||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
{% feed_meta %} | ||
|
||
</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,33 @@ | ||
<!-- Navigation --> | ||
<nav class="navbar navbar-default navbar-custom navbar-fixed-top"> | ||
<div class="container-fluid"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header page-scroll"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||
<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="{{ site.baseurl }}/">{{ site.title }}</a> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
<a href="{{ site.baseurl }}/">Home</a> | ||
</li> | ||
{% for page in site.pages %}{% if page.title %} | ||
{% if page.url != '/404.html' %} | ||
<li> | ||
<a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endif %}{% endfor %} | ||
</ul> | ||
</div> | ||
<!-- /.navbar-collapse --> | ||
</div> | ||
<!-- /.container --> | ||
</nav> |
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 @@ | ||
<!-- Use {% include youtube.html id="YOUTUBE ID" %} to embed a youtube video on a post or page. --> | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ include.id }}" frameborder="0" allowfullscreen></iframe> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include nav.html %} | ||
|
||
{{ content }} | ||
|
||
{% include footer.html %} | ||
|
||
{% include ga.html %} | ||
|
||
</body> | ||
|
||
</html> |
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,29 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<!-- Page Header --> | ||
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
<div class="site-heading"> | ||
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1> | ||
<hr class="small"> | ||
<span class="subheading">{{ page.description }}</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
|
||
<!-- Main Content --> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<hr> |
Oops, something went wrong.