Skip to content

Commit

Permalink
laytou present
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 16, 2023
1 parent 67d5b62 commit dd8da41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/markdown/posts/raw.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% content_for :title do %><%= @post.title %><% end %>

<% if @post.layout %>
<% if @post.layout.present? %>
<h1 class="title has-text-centered pt-5"><%= @post.title %></h1>
<%= render partial: "md_layout/#{@post.layout}", collection: @post.raw_block_texts, as: :item %>
<% else %>
Expand Down

0 comments on commit dd8da41

Please sign in to comment.