1
ewpratten.com/templates/section.html
2021-08-21 13:20:38 -04:00

37 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}
{{section.title}}
{% endblock title %}
{% block profile %}
<div class="row">
<div class="headshot-container">
<img src="https://avatars.githubusercontent.com/u/21065412" alt="Headshot">
</div>
<div class="text-container">
<h1>{{config.extra.name}}</h1>
<p>
{{config.extra.profession}}
<br><br><br>
<a href="mailto:{{config.extra.email}}"><i class="las la-envelope"></i> {{config.extra.email}}</a><br>
<a href="https://github.com/{{config.extra.github}}"><i class="lab la-github"></i>
{{config.extra.github}}</a><br>
<a href="https://qrz.com/db/{{config.extra.qrz}}"><i class="las la-broadcast-tower"></i>
{{config.extra.qrz}}</a>
</p>
</div>
</div>
{% endblock profile %}
{% block content %}
{{section.content | safe}}
{% if section.extra.inject_blog_posts %}
<ul>
{% for page in section.pages %}
<li class="blog-post-li"><a href="{{page.path}}">{{page.title}}</a> <span style="color:gray;">({{page.date}})</span>
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock content %}