first commit
This commit is contained in:
13
views/blogpost.twig
Normal file
13
views/blogpost.twig
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends layout %}
|
||||
|
||||
{% block title %}{{ $post->getTitle() }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="overview">
|
||||
<h1>{{ $post->getTitle() }}</h1>
|
||||
<section class="post-view">
|
||||
<p>{{ $post->getContent() }}</p>
|
||||
</section>
|
||||
<a href="/">back</a>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user