88 lines
3.4 KiB
Django/Jinja
88 lines
3.4 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 %}
|
|
<link rel="stylesheet" href="{{ static('bower/font-awesome/css/font-awesome.css') }}" type="text/css" />
|
|
<link rel="stylesheet" href="{{ static('bower/pure/src/buttons/css/buttons.css') }}" />
|
|
<link rel="stylesheet" href="{{ static('sass/style.sass') }}" type="text/x-sass" />
|
|
{% block stylesheets %}
|
|
{% 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="fa fa-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>
|
|
<div class="menu buttons">
|
|
{% block sections %}
|
|
<a href="/" class="button homepage">
|
|
<i class="fa fa-user"></i> About me
|
|
</a>
|
|
<a href="{{ url('blog:list') }}" class="button blog">
|
|
<i class="fa fa-comment"></i> Blog
|
|
</a>
|
|
{% if config.show_projects %}
|
|
<a href="{{ url('projects:list') }}" class="button projects">
|
|
<i class="fa fa-folder-open"></i> Portfolio
|
|
</a>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</div>
|
|
<nav class="zone-menu buttons">
|
|
{% block menu %}
|
|
<hr />
|
|
<header>{{ section|capitalize }}</header>
|
|
{% endblock %}
|
|
</nav>
|
|
</section>
|
|
<section class="content">
|
|
{% block content %}{% endblock %}
|
|
</section>
|
|
|
|
{% compress js %}
|
|
<script type="text/javascript" src="{{ static('js/mobile.js') }}"></script>
|
|
{% block javascript %}{% endblock %}
|
|
{% endcompress %}
|
|
{% 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 %}
|
|
|
|
{% block endbody %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|