Skip to content

Commit

Permalink
Merge pull request #9 from GruPyBA/clean-blog-template
Browse files Browse the repository at this point in the history
Clean blog template
  • Loading branch information
RodolfoSilva authored Mar 10, 2017
2 parents 5f0e2de + 6b5b928 commit 6ffbd44
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ url: "http://grupyba.com.br"

# Social
twitter_username:
github_username:
facebook_username:
github_username: GruPyBA
facebook_group: grupyba
email_username: [email protected]
telegram_group: grupyba

Expand Down
10 changes: 5 additions & 5 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
</li>
{% if site.twitter_username %}
<li>
<a href="https://twitter.com/{{ site.twitter_username }}">
<a href="https://twitter.com/{{ site.twitter_username }}" target="_blank">
<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 %}
{% if site.facebook_group %}
<li>
<a href="https://www.facebook.com/{{ site.facebook_username }}">
<a href="https://www.facebook.com/groups{{ site.facebook_group }}" target="_blank">
<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>
Expand All @@ -34,7 +34,7 @@
{% endif %}
{% if site.github_username %}
<li>
<a href="https://github.com/{{ site.github_username }}">
<a href="https://github.com/{{ site.github_username }}" target="_blank">
<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>
Expand All @@ -54,7 +54,7 @@
{% endif %}
{% if site.telegram_group %}
<li>
<a href="https://t.me/{{ site.telegram_group }}">
<a href="https://t.me/{{ site.telegram_group }}" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-send fa-stack-1x fa-inverse"></i>
Expand Down
2 changes: 2 additions & 0 deletions _includes/github_ribbon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<a href="https://github.com/GruPyBA/grupyba.github.io" target="_blank">
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"></a>
11 changes: 11 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<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 }}">
<link rel="shortcut icon" type="image/png" href="/img/python-logo.png"/>

<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>

Expand All @@ -18,6 +19,16 @@
<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">

<style type="text/css">
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
margin-left: 100px;
}
.navbar-brand>img {
display: inline-block;
max-width: 37px;
}
</style>

<!-- 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'>
Expand Down
5 changes: 4 additions & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!-- Navigation -->
{% include github_ribbon.html %}

<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">
Expand All @@ -10,7 +13,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.baseurl }}/">
<img src="{{ site.baseurl }}/{{ site.nav-logo }}" class="img-circle" style="display: inline-block; max-width: 37px;"> {{ site.title }}
<img src="{{ site.baseurl }}/{{ site.nav-logo }}" class="img-circle"> {{ site.title }}
</a>
</div>

Expand Down

0 comments on commit 6ffbd44

Please sign in to comment.