remove template

This commit is contained in:
Kevin Tessier 2020-05-28 09:37:02 +02:00
parent 4bdbddc84d
commit e2c43c5a1f
3 changed files with 0 additions and 56 deletions

View File

@ -1,28 +0,0 @@
<div class="comment-form">
<h3>Add comment</h3>
<form class="comment-form" method="post" action="{{ site.site_url~'/wp-comments-post.php' }}">
{% if user %}
<input type="hidden" name="email" value="{{ user.email }}">
<input type="hidden" name="author" value="{{ user.name }}">
<input type="hidden" name="url" value="{{ user.link }}">
{% else %}
<label>Email<br>
<input required name="email" type="email" id="email">
</label>
<label>Name<br>
<input required name="author" type="text">
</label>
<label>Website<br>
<input name="url" type="url">
</label>
{% endif %}
<label>Comment<br>
<textarea placeholder="Leave a comment..." name="comment" cols="60" rows="3"></textarea>
</label>
<input name="comment_post_ID" value="{{ post.id }}" type="hidden">
<input name="comment_parent" value="{{ comment.ID|default('0') }}" type="hidden">
<button type="submit" name="Submit" class="btn">Send</button>
<button type="reset">Cancel</button>
<p>Your comment will be revised by the site if needed.</p>
</form>
</div>

View File

@ -1,21 +0,0 @@
<div class="blog-comment {{comment.comment_type}}" id="blog-comment-{{comment.ID}}">
<h5 class="comment-author">{{comment.author.name}} says</h5>
<div class="comment-content">{{comment.comment_content|wpautop}}</div>
<section class="comment-box">
<!-- comment form -->
{% include "comment-form.twig" %}
<!-- child comments -->
{% if post.comments %}
<h4> replies </h4>
<div class="comments">
{% for cmt in comment.children %}
{% include "comment.twig" with {comment:cmt} %}
{% endfor %}
</div>
{% endif %}
</section>
</div>

View File

@ -1,7 +0,0 @@
{% extends "base.twig" %}
{% block content %}
<div class="container content-wrapper">
{{content}}
</div><!-- /content-wrapper -->
{% endblock %}