fmartingr.com/templates/_base.html

42 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block page_title %}Felipe Martin{% endblock %}</title>
<link rel="stylesheet" href="/static/css/style.css">
<link rel="alternate" type="application/rss+xml" title="RSS Feed for fmartingr.com" href="/feed.xml" />
<link rel="icon" href="/static/images/favicon.ico">
<!-- 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">
{% block endhead %}{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
<div class="page-content center">
<header>
<div class="avatar">
<img class="avatar" src="{{ '/static/images/avatar.jpg'|asseturl }}">
</div>
<h1>Felipe Martín</h1>
<nav>
<a {% if this.path == '/' %}class="text-bold"{% endif %} href="{{ '/'|url }}">/home</a>
{% for section in site.get('/').children.order_by("title") %}
<a {% if this.is_child_of(section) %}class="text-bold"{% endif %} href="{{ section|url }}">{{ section.path }}</a>
{% endfor %}
</nav>
</header>
<hr>
<section class="main-content">
{% block main_content %}asd{% endblock %}
</section>
<hr>
<footer>
Site created using <a target="_blank" href="https://getlektor.com">Lektor</a>. Source code available in <a target="_blank" href="https://github.com/fmartingr/fmartingr.com">Github</a>
</footer>
{% block endbody %}{% endblock %}
</body>
</html>