fmartingr.com-legacy/fmartingrcom/themes/v2/templates/_base.html

81 lines
3.2 KiB
HTML

<!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">
{% block stylesheets %}
<link rel="stylesheet" href="{{ url_for('static', filename='bower/font-awesome/css/font-awesome.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/x-sass" />
{% endblock %}
{% 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="{% block body_class %}{% endblock %}">
<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&iacute;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_for('blog.blog_list') }}" class="button blog">
<i class="fa fa-comment"></i> Blog
</a>
<a href="{{ url_for('portfolio.portfolio_list') }}" class="button projects">
<i class="fa fa-folder-open"></i> Portfolio
</a>
{% endblock %}
</div>
<nav class="zone-menu buttons">
{% block menu %}
<hr />
<header>{{ section|capitalize }}</header>
{% endblock %}
</nav>
</section>
<section class="content">
{% block content %}{% endblock %}
</section>
<script type="text/javascript" src="{{ url_for('static', filename='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 %}
{% block endbody %}
{% endblock %}
</body>
</html>