mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
33 lines
840 B
HTML
33 lines
840 B
HTML
---
|
|
permalink: /blog/index.html
|
|
layout: blog-list
|
|
---
|
|
|
|
{% for blogPost in blogPosts %}
|
|
<article>
|
|
<header>
|
|
<h2><a href="{{ blogPost.url }}">{{ blogPost.title }}</a></h2>
|
|
</header>
|
|
|
|
<p class="lead">
|
|
Posted on <date>{{ blogPost.date|date('F j, Y') }}</date>
|
|
{% if blogPost.authorName %}
|
|
by
|
|
{% if blogPost.authorEmail %}
|
|
<a href="mailto:{{ blogPost.authorEmail }}">{{ blogPost.authorName }}</a>
|
|
{% else %}
|
|
{{ blogPost.authorName }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<div>
|
|
{{ blogPost.contents|markdown }}
|
|
</div>
|
|
</article>
|
|
{% endfor %}
|
|
|
|
<a href="/blog/archive.html" class="btn btn-primary">View Blog Archive</a>
|