1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-10 13:42:29 +00:00
balkian.github.com/balkiantheme/templates/base.html

157 lines
8.8 KiB
HTML
Raw Normal View History

2013-08-22 23:57:31 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ SITENAME }} - {% block site_title %}WELCOME{% endblock %}</title>
2013-08-22 23:57:31 +00:00
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->
2015-01-22 23:22:39 +00:00
<link rel="stylesheet" href="{{ SITE_URL }}/theme/css/solarized.css">
2013-08-22 23:57:31 +00:00
<!--<link href="/css/bootstrap.css" rel="stylesheet">-->
<link rel="stylesheet" href="{{ SITE_URL }}/theme/font-awesome/css/font-awesome.min.css">
2013-08-22 23:57:31 +00:00
<!--<link rel="stylesheet" href="/css/bootstrap-responsive.min.css">-->
<!-- Custom CSS -->
<link rel="stylesheet" media="only screen" href="{{ SITE_URL }}/theme/css/main.css">
<link rel="stylesheet" media="only screen and (min-width: 0px) and (max-width: 599px)" href="{{ SITE_URL }}/theme/css/main-xs.css">
<link rel="stylesheet" media="only screen and (min-width: 600px) and (max-width: 1199px)" href="{{ SITE_URL }}/theme/css/main-medium.css">
<link rel="stylesheet" media="only screen and (min-width: 1200px)" href="{{ SITE_URL }}/theme/css/main-desktop.css">
2014-04-08 11:08:47 +00:00
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300|Comfortaa' rel='stylesheet' type='text/css'>
2013-08-22 23:57:31 +00:00
</head>
<body>
<div id="container" class="container">
<header id="header">
<div id="navbar" class="navbar navbar-inverse navbar-static-bottom">
<div class="container">
<div class="navbar-header">
<ul class="nav navbar-nav">
2015-12-10 14:44:10 +00:00
<li {% if page_name == 'index' %}class="active" {% endif %}>
2015-12-08 16:13:09 +00:00
<a href="/"><i class="fa fa-home fa-large"></i></a>
2015-12-07 22:14:11 +00:00
</li>
2015-12-10 14:44:10 +00:00
{% for c,carts in categories %}
2016-02-03 17:56:20 +00:00
<li {% if ( page_name and page_name == c.page_name) or (category and category == c ) %} class="active"
2015-12-10 14:44:10 +00:00
{% endif %} >
<a href="/{{ c.url }}">{{ c.name | capitalize }}</a>
</li>
{% endfor %}
2016-02-03 17:56:20 +00:00
<li {% if page_name == "tags" or tag %} class="active" {%endif%}>
2015-12-10 14:44:10 +00:00
<a href="/tags.html">Tags</a>
</li>
{% for p in pages %} {% if "/page" in p.url %}
2015-12-07 22:14:11 +00:00
{% else %}
{% if p.url != "/index.html" %}
<li {% if page and p.url == page.url %} class="active"
{% endif %} >
<a href="/{{ p.url }}">{{ p.title }}</a>
</li>
{% endif %}
{% endif %}
2013-08-22 23:57:31 +00:00
{% endfor %}
2015-12-07 22:14:11 +00:00
<li>
2015-12-08 00:40:08 +00:00
<a href="//jfernando.es" target="_blank">CV</a>
2015-12-07 22:14:11 +00:00
</li>
2013-08-22 23:57:31 +00:00
</ul>
2015-12-07 22:14:11 +00:00
</div>
2013-08-22 23:57:31 +00:00
</div>
</div>
</header>
<div id="contentwrapper">
<div id="sidebar" >
<div id="badge" class="flip-container" ontouchstart="this.classList.toggle('hover');">
2015-01-11 20:47:17 +00:00
<div class="flipper sticky">
<div class="front">
2013-08-22 23:57:31 +00:00
<!-- front content -->
<img id="avatar" width=100% src="{{ SITE_URL }}/theme/img/me.png">
2013-08-22 23:57:31 +00:00
</div>
2015-01-11 20:47:17 +00:00
<div class="back">
2013-08-22 23:57:31 +00:00
<!-- back content -->
2015-12-07 22:14:11 +00:00
<img id="picture" width=100% src="{{ SITE_URL }}/theme/img/me-bat.png">
2013-08-22 23:57:31 +00:00
</div>
</div>
</div>
2015-12-08 12:43:04 +00:00
<div id="about" style="clear:both;">
<!-- <h1 class="title">Interests</h1> -->
<div class="icons">
2015-12-08 16:13:09 +00:00
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa-stack-2x" ></i><i class="fa fa-stack-1x fa-linux"></i></span><span class="explanation">Linux lover</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-android"></i></span><span class="explanation">Android dev</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-github-alt"></i> </span><span class="explanation">GitHub user</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-stack-exchange"></i> </span><span class="explanation">StackExchange fan</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-music"></i> </span><span class="explanation">Music lover</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-film"></i> </span><span class="explanation">Movie fan</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-comments"></i> </span><span class="explanation">Always on IM</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-laptop"></i> </span><span class="explanation">Always on a PC</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-pencil"></i> </span><span class="explanation">Occassional writter</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-moon-o"></i> </span><span class="explanation">Night owl</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-terminal"></i></span> <span class="explanation">CLI user</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-flag"></i></span> <span class="explanation">Linguist wannabe</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-code"></i> </span> <span class="explanation">Love to code</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-book"></i></span> <span class="explanation">Keen reader</span></span>
<span class="coolicon"><span class="fa fa-stack"> <i class="fa fa-square-o fa fa-stack-2x" ></i><i class="fa fa-quote-right"></i></span> <span class="explanation">Quotes on demand</span></span>
2015-12-08 12:43:04 +00:00
</div>
</div>
2013-08-22 23:57:31 +00:00
<div class="entries">
2015-12-08 12:43:04 +00:00
<h2 class="title">Latest entries</h2>
2013-08-22 23:57:31 +00:00
<dl>
2015-01-22 22:53:41 +00:00
{% for p in articles[:5] %}
<dt><a href="{{ SITE_URL }}/{{ p.url }}">{{ p.title }}</a></dt>
2013-08-22 23:57:31 +00:00
{% for c in p.tags %}
2015-12-10 14:44:10 +00:00
<dd class="tag"><a class="label" href="/tag/{{ c }}.html">{{ c }}</a></dd>
2013-08-22 23:57:31 +00:00
{% endfor %}
{% endfor %}
</dl>
</div>
2015-12-08 12:43:04 +00:00
<!--Sidebar content-->
2013-08-22 23:57:31 +00:00
</div>
<div id="content">
<!--Body content-->
{% block content %}
{% endblock %}
2013-08-22 23:57:31 +00:00
</div>
<div class="clear"></div>
</div>
<footer role="contentinfo">
<div class="contact">
<p>
J. Fernando Sánchez Rada | balkian
</p>
</div>
<ul id="social">
2015-12-08 16:13:09 +00:00
<li><a href="http://github.com/balkian"><i class="fa fa-github"></i></a></li>
<li><a href="http://bitbucket.com/balkian"><i class="fa fa-bitbucket"></i></a></li>
<li><a href="http://twitter.com/balkian"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://plus.google.com/u/0/111897020957944410316"><i class="fa fa-google-plus"></i></a></li>
<li><a href="http://linkedin.com/in/jfsanchezrada"><i class="fa fa-linkedin"></i></a></li>
<li><a href="http://facebook.com/balkian"><i class="fa fa-facebook"></i></a></li>
2013-08-22 23:57:31 +00:00
</ul>
<p>
2015-12-10 14:44:10 +00:00
<i class="fa fa-creative-commons"></i> Creative Commons A-SA-NC
2013-08-22 23:57:31 +00:00
</p>
</footer>
</div>
<script src="{{ SITE_URL }}/theme/js/jquery-2.0.2.min.js"></script>
2015-12-08 13:57:52 +00:00
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.sinpapel.es/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 2]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//piwik.sinpapel.es/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
2013-08-22 23:57:31 +00:00
<!--<script src="/js/bootstrap.min.js"></script>-->
</body>
</html>