97 lines
3.2 KiB
HTML
97 lines
3.2 KiB
HTML
{% extends "_default/base.html" %}
|
|
{% block content %}
|
|
|
|
<!-- Default page template for news posts and basic informative markdown files -->
|
|
<main>
|
|
|
|
<div class="container sm:pxi-0 mx-auto overflow-x-hidden pt-16 lg:w-4/6">
|
|
|
|
<div class="pt-8">
|
|
<section class="post-header container mx-auto px-0 mb-4 border-b">
|
|
<h1 class="text-5xl font-medium leading-none mt-0">
|
|
{{ page.title }}
|
|
</h1>
|
|
<div class="text-2xl pt-4 pb-10 text-gray-700">{{ page.description }}</div>
|
|
</section>
|
|
<section class="post-author-list mb-10 mx-0">
|
|
<div class="flex items-center">
|
|
<div class="flex justify-between items-center">
|
|
<ul class="list-none flex author-list my-10 mr-2 px-0">
|
|
{% for author in page.extra.authors %}
|
|
{% set fullpath = "/people/" ~ author | replace(from='_', to='-' ) %}
|
|
{% if page.extra.authorImg %}
|
|
<li class="author-list-item">
|
|
<a href="{{fullpath}}" tooltip="{{author}}">
|
|
<img src="{{ page.extra.authorImg }}" alt="{{ author }}" class="
|
|
w-10
|
|
h-10
|
|
rounded-full
|
|
bg-gray-200
|
|
border-2 border-white
|
|
" />
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="pl-3 flex flex-col text-xs leading-none uppercase">
|
|
<p>
|
|
{% for author in page.extra.authors %}
|
|
{% set fullpath = "/people/" ~ author | replace(from='_', to='-' ) %}
|
|
<span>
|
|
<a href="{{fullpath}}" tooltip="{{author}}" class="hover:underline text-gray-800">{{ author | replace(from='_', to=' '
|
|
) }}</a>
|
|
</span>
|
|
{% endfor %}
|
|
</p>
|
|
<p class="text-gray-700">
|
|
<time datetime="{{page.date}}">
|
|
{{ page.date | date(format="%B %e, %Y", timezone="America/Chicago") }}
|
|
</time>
|
|
{# · {{ page.news.timeToRead }} min read #}
|
|
</p>
|
|
</div>
|
|
<div class="my-2 ml-auto sharethis-inline-share-buttons"></div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<section class="post-image mx-auto w-full">
|
|
<img src="/{{page.extra.imgPath}}" />
|
|
</section>
|
|
|
|
<div class="py-12">
|
|
<section class="
|
|
post-content
|
|
container
|
|
mx-auto
|
|
relative
|
|
font-serif
|
|
text-gray-700
|
|
">
|
|
<div class="post-content-text text-xl">{{ page.content | safe }}</div>
|
|
</section>
|
|
|
|
<section class="post-tags container mx-auto relative py-10">
|
|
{% for tag in page.taxonomies.tags %}
|
|
{% set fullpath = "/tags/" ~ tag | replace(from='_', to='-' ) %}
|
|
<a href="{{fullpath}}" class="
|
|
text-xs
|
|
bg-transparent
|
|
hover:text-blue-700
|
|
py-2
|
|
px-4
|
|
mr-2
|
|
border
|
|
hover:border-blue-500
|
|
border-gray-600
|
|
text-gray-700
|
|
rounded-full
|
|
">{{ tag }}</a>
|
|
{% endfor %}
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
{% endblock content %} |