Skip to content
Snippets Groups Projects
Commit 4f02a3b9 authored by Olivia206's avatar Olivia206
Browse files

added credit for header image

parent 217bb3e3
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,14 @@
<% content_for :header_right do %>
<% if @post.featured_image.attached? %>
<%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %>
<figure>
<%= kamifusen_tag @post.featured_image, class: 'img-fluid', width: 300 %>
<figcaption tabindex="0">
<p>
<% @post.featured_image_credit %>
</p>
</figcaption>
</figure>
<% end %>
<% end %>
......
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