Skip to content
Snippets Groups Projects
Commit 72fcf7bc authored by Olivia206's avatar Olivia206
Browse files

changed highlight variable call

parent abadc1e6
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ end
class_name += " block-posts--" + @block.template.layout
date_format = "%e %B %Y"
highlight_post = @block.template.selected_posts.first
%>
<section class="<%= class_name %>">
<div class="container">
......@@ -55,7 +54,9 @@ highlight_post = @block.template.selected_posts.first
<% end %>
</div>
<% elsif @block.template.layout === "highlight" %>
<% elsif @block.template.layout === "highlight"
highlight_post = @block.template.selected_posts.first
%>
<div class="highlight">
<div class="highlight-post">
<article class="post" itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment