refactor: move into a website directory
This commit is contained in:
parent
86529d7148
commit
3c5c0e808a
747 changed files with 133 additions and 2 deletions
13
website/source/_includes/post/post-teaser.html.twig
Normal file
13
website/source/_includes/post/post-teaser.html.twig
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<article>
|
||||
<h2>
|
||||
<a class="dark:text-blue-400 text-blue-primary" href="{{ post.url|trim('/', 'right') }}">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<time class="text-base" datetime="{{ post.date|date('Y-m-d') }}">
|
||||
{{ post.date|date('jS F Y') }}
|
||||
</time>
|
||||
|
||||
<p class="mt-1">{{ post.excerpt }}</p>
|
||||
</article>
|
||||
Loading…
Add table
Add a link
Reference in a new issue