Change some <section> to <div> where a heading is not necessary (HTML linter findings)
This commit is contained in:
parent
93ee1b080b
commit
1fdd18c42f
|
@ -5,17 +5,17 @@
|
||||||
<% for my $post (@$view_posts) { =%>
|
<% for my $post (@$view_posts) { =%>
|
||||||
<article>
|
<article>
|
||||||
<h3><%= @$post[0] %></h3>
|
<h3><%= @$post[0] %></h3>
|
||||||
<section class="message field">
|
<div class="message field">
|
||||||
<blockquote><p><%= @$post[2] %></p></blockquote>
|
<blockquote><p><%= @$post[2] %></p></blockquote>
|
||||||
</section>
|
</div>
|
||||||
<section class="name field">
|
<div class="name field">
|
||||||
<p style="margin: 0 0 0 0;">
|
<p style="margin: 0 0 0 0;">
|
||||||
- <%= @$post[1] %>
|
- <%= @$post[1] %>
|
||||||
<% if (@$post[3]) { =%>
|
<% if (@$post[3]) { =%>
|
||||||
(<%= link_to Homepage => @$post[3] %>)
|
(<%= link_to Homepage => @$post[3] %>)
|
||||||
<% } =%>
|
<% } =%>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</div>
|
||||||
<span hidden>Message ID: <%= @$post[4] %></span>
|
<span hidden>Message ID: <%= @$post[4] %></span>
|
||||||
</article>
|
</article>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user