refactor: move into a website directory
This commit is contained in:
parent
86529d7148
commit
3c5c0e808a
747 changed files with 133 additions and 2 deletions
35
website/source/_layouts/post.html.twig
Normal file
35
website/source/_layouts/post.html.twig
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<div class="space-y-10">
|
||||
<div class="space-y-6">
|
||||
<header>
|
||||
<time datetime="{{ page.date|date('Y-m-d') }}">
|
||||
Posted on {{ page.date|date('jS F Y') -}}
|
||||
</time>
|
||||
</header>
|
||||
|
||||
<div>
|
||||
{% include 'post/old-post-message' with {
|
||||
post: page,
|
||||
} only %}
|
||||
</div>
|
||||
|
||||
<div class="markdown">
|
||||
{{ parent() }}
|
||||
</div>
|
||||
|
||||
{% include 'post/comments-questions' with {
|
||||
twitter: {
|
||||
name: site.twitter.name,
|
||||
url: site.twitter.url
|
||||
}
|
||||
} only %}
|
||||
</div>
|
||||
|
||||
{% include 'about-author' with {
|
||||
avatar: site.avatar,
|
||||
work: site.work,
|
||||
} only %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue