110 lines
4.1 KiB
Django/Jinja
110 lines
4.1 KiB
Django/Jinja
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link href="//fonts.googleapis.com/css?family=Open+Sans:400|Antic+Slab" rel="stylesheet" type="text/css">
|
|
{% compress css %}
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}bower/font-awesome/css/font-awesome.css" type="text/css" />
|
|
<link rel="stylesheet" href="{{ STATIC_URL }}sass/style.sass" type="text/x-sass" />
|
|
{% endblock %}
|
|
{% endcompress %}
|
|
{% block head %}{% endblock %}
|
|
<!-- Mobile -->
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="MobileOptimized" content="320">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
|
|
<meta http-equiv="cleartype" content="on">
|
|
<title>Felipe Martin | {% block page_title %} Homepage{% endblock %}</title>
|
|
</head>
|
|
<body class="{{ section }}">
|
|
<button class="menu"><span class="icon-arrow-right"></span></button>
|
|
<section class="sidebar">
|
|
<header class="text-center">
|
|
<a href="/">
|
|
<div class="logo">
|
|
Felipe<br />
|
|
M<div class="hacker-icon">
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
</div>rtín
|
|
</div>
|
|
</a>
|
|
<div class="slogan alt-font hide-mobile">
|
|
Be incomprehensible.<br />
|
|
If they can't understand, <br />
|
|
they can't disagree.
|
|
</div>
|
|
</header>
|
|
<nav class="zone-menu buttons">
|
|
{% block menu %}
|
|
<header>{{ section|capitalize }}</header>
|
|
{% endblock %}
|
|
</nav>
|
|
<div class="menu buttons">
|
|
{% block sections %}
|
|
{% if section != 'blog' %}
|
|
<a href="{{ url('blog:list') }}">
|
|
<button class="blog">
|
|
<i class="fa fa-comment"></i> Blog
|
|
</button>
|
|
</a>
|
|
{% endif %}
|
|
{#
|
|
{% if section != 'projects' %}
|
|
<a href="#">
|
|
<button class="projects">
|
|
<i class="fa fa-folder-open"></i> Projects
|
|
</button>
|
|
</a>
|
|
{% endif %}
|
|
#}
|
|
{% endblock %}
|
|
</div>
|
|
<footer class="text-center">
|
|
<div class="social buttons">
|
|
<a href="//twitter.com/fmartingr">
|
|
<button class="twitter">
|
|
<span class="fa fa-twitter"></span> Twitter
|
|
</button>
|
|
</a>
|
|
<a href="//github.com/fmartingr">
|
|
<button class="github">
|
|
<span class="fa fa-github"></span> Github
|
|
</button>
|
|
</a>
|
|
<a href="mailto:fmartingr@me.com">
|
|
<button class="email">
|
|
<span class="fa fa-envelope"></span> Email
|
|
</button>
|
|
</a>
|
|
</div>
|
|
</footer>
|
|
</section>
|
|
<section class="content">
|
|
{% block content %}{% endblock %}
|
|
</section>
|
|
{% block footer %}
|
|
{% endblock %}
|
|
|
|
{% compress js %}
|
|
<script type="text/javascript" src="{{ STATIC_URL }}js/mobile.js"></script>
|
|
{% block javascript %}{% endblock %}
|
|
{% if config.google_analytics %}
|
|
<script type="text/javascript">
|
|
(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', '{{ config.google_analytics }}', '{{ config.google_analytics_domain }}');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{% endif %}
|
|
{% endcompress %}
|
|
|
|
</body>
|
|
</html>
|