Change some <section> to <div> where a heading is not necessary (HTML linter findings)

This commit is contained in:
swagg boi 2022-04-01 22:38:14 -04:00
parent 93ee1b080b
commit 1fdd18c42f

View file

@ -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>
<% } =%> <% } =%>