Browse Source

remove template

Kevin 4 years ago
parent
commit
e2c43c5a1f

+ 0 - 28
web/app/themes/la_mine/templates/comment-form.twig

@@ -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>

+ 0 - 21
web/app/themes/la_mine/templates/comment.twig

@@ -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>

+ 0 - 7
web/app/themes/la_mine/templates/page-plugin.twig

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