2017-10-22 18:37:24 -04:00
|
|
|
{% extends 'lemoncurry/layout.html' %}
|
2017-10-26 18:52:03 -04:00
|
|
|
{% load jsonify markdown static %}
|
2017-10-24 22:28:25 -04:00
|
|
|
{% block html_class %}h-feed{% endblock %}
|
2017-10-24 21:46:04 -04:00
|
|
|
{% block styles %}
|
|
|
|
<link rel="stylesheet" type="text/stylus" href="{% static 'home/css/index.styl' %}" />
|
2017-10-24 21:55:24 -04:00
|
|
|
<link rel="stylesheet" type="text/stylus" href="{% static 'entries/css/h-entry.styl' %}" />
|
2017-10-24 21:46:04 -04:00
|
|
|
{% endblock %}
|
2017-11-11 00:23:05 -05:00
|
|
|
|
|
|
|
{% block head %}{% for key in user.keys.all %}<link rel="pgpkey" href="{{ key.file.url }}" />{% endfor %}{% endblock %}
|
|
|
|
|
2017-10-22 18:37:24 -04:00
|
|
|
{% block main %}
|
|
|
|
<aside class="author">
|
|
|
|
<article class="h-card card p-author">
|
2017-12-10 20:28:39 -05:00
|
|
|
<a class="u-uid u-url" href="{{ uri }}">
|
2017-10-22 19:39:17 -04:00
|
|
|
{% if user.avatar %}<img class="card-img-top u-photo" src="{{ user.avatar.url }}" alt="{{ user.first_name }} {{ user.last_name }}" />{% endif %}
|
2017-12-10 20:28:39 -05:00
|
|
|
</a>
|
2017-11-11 01:07:40 -05:00
|
|
|
|
2017-10-22 19:29:12 -04:00
|
|
|
<div class="card-body">
|
|
|
|
<h4 class="card-title p-name">
|
|
|
|
<span class="p-given-name">{{ user.first_name }}</span> <span class="p-family-name">{{ user.last_name }}</span>
|
|
|
|
</h4>
|
2017-10-25 23:40:29 -04:00
|
|
|
{% if user.note %}<div class="p-note">{{ user.note | markdown }}</div>{% endif %}
|
2017-10-22 19:29:12 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
<ul class="profiles">
|
2017-11-11 01:07:40 -05:00
|
|
|
<li><a class="u-email" rel="me" href="mailto:{{ user.email }}">
|
2017-12-05 22:07:59 -05:00
|
|
|
<i class="fas fa-envelope"></i> {{ user.email }}
|
2017-11-11 01:07:40 -05:00
|
|
|
</a></li>
|
|
|
|
{% if user.xmpp %}<li><a class="u-impp" rel="me" href="xmpp:{{ user.xmpp }}">
|
2017-12-20 19:27:17 -05:00
|
|
|
<i class="openwebicons-xmpp" aria-hidden="true"></i> {{ user.xmpp }}
|
2017-11-11 01:07:40 -05:00
|
|
|
</a></li>{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
<ul class="profiles">
|
|
|
|
{% for key in user.keys.all %}<li>
|
|
|
|
<a class="u-key" href="{{ key.file.url }}">
|
2017-12-05 22:07:59 -05:00
|
|
|
<i class="fas fa-key"></i> {{ key.pretty_print }}
|
2017-11-11 01:07:40 -05:00
|
|
|
</a>
|
2017-11-06 06:02:12 -05:00
|
|
|
</li>
|
2017-11-11 01:07:40 -05:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
<ul class="profiles">
|
2017-10-22 21:59:10 -04:00
|
|
|
{% for profile in user.profiles.all %}<li>
|
2017-12-20 19:27:17 -05:00
|
|
|
<a class="u-url" rel="me" href="{{ profile.url }}" title="{{ profile }}"><i class="{{ profile.site.icon }}" aria-hidden="true"></i><span class="sr-only">{{ profile }}</span></a>
|
2017-10-22 21:59:10 -04:00
|
|
|
</li>{% endfor %}
|
2017-10-22 19:29:12 -04:00
|
|
|
</ul>
|
|
|
|
</div>
|
2017-11-11 01:07:40 -05:00
|
|
|
|
2017-10-30 23:33:16 -04:00
|
|
|
<script class="p-json-ld" type="application/ld+json">{{ user.json_ld | jsonify }}</script>
|
2017-10-22 18:37:24 -04:00
|
|
|
</article>
|
|
|
|
</aside>
|
2017-12-04 05:43:13 -05:00
|
|
|
<ol class="list-unstyled entries">
|
2017-10-24 21:55:24 -04:00
|
|
|
{% for entry in entries %}
|
|
|
|
<li>
|
|
|
|
{% include 'entries/h-entry.html' %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
2017-10-22 18:37:24 -04:00
|
|
|
{% endblock %}
|