pelican-clean-blog/templates/author.html

34 lines
1.4 KiB
HTML
Raw Normal View History

2014-12-10 17:17:48 +00:00
{% extends "index.html" %}
2017-04-06 06:38:23 +00:00
{% block title %}{{ SITENAME }} - {{ gettext('Articles by %(name)s', name=author) }}{% endblock %}
2014-12-10 17:17:48 +00:00
{% block opengraph %}
{{ super() }}
2017-04-06 06:38:23 +00:00
<meta property="og:title" content="{{ SITENAME }} - {{ gettext('Articles by %(name)s', name=author) }}">
<meta property="og:type" content="profile">
<meta property="profile:first_name" content="{{ author.name.split(' ')[0] }}">
<meta property="profile:last_name" content="{{ author.name.split(' ')[1:]|join(' ') }}">
<meta property="profile:username" content="{{ author.slug }}">
{% endblock opengraph %}
2014-12-10 17:17:48 +00:00
{% block header %}
<!-- Page Header -->
2014-12-10 17:53:48 +00:00
{% if HEADER_COVER %}
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
{% elif HEADER_COLOR %}
<header class="intro-header" style="background-color: {{ HEADER_COLOR }}">
2014-12-10 17:53:48 +00:00
{% else %}
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
{% endif %}
2014-12-10 17:17:48 +00:00
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-heading">
2017-04-06 06:38:23 +00:00
<h1>{{ gettext('Articles by %(name)s', name=author) }}</h1>
2014-12-10 17:17:48 +00:00
</div>
</div>
</div>
</div>
</header>
{% endblock header %}