Skip to content

Commit

Permalink
link_toの書き方を他と統一(カッコを削除)。authorを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nishitatsu-dev committed May 30, 2024
1 parent c80d398 commit 247562f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/external_entries/_external_entry.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.card-list-item__row
.card-list-item-title
h2.card-list-item-title__title
= link_to(external_entry.title, external_entry.url, rel: 'noopener', target: '_blank', class: 'card-list-item-title__link a-text-link')
= link_to external_entry.title, external_entry.url, rel: 'noopener', target: '_blank', class: 'card-list-item-title__link a-text-link'
.card-list-item__row
.card-list-item__summary
p
Expand All @@ -18,5 +18,5 @@
time.a-meta
= l(external_entry.published_at)
.card-list-item__thumbnail
= link_to(external_entry.url, class: 'card-list-item__thumbnail-inner', target: '_blank', rel: 'noopener') do
= link_to external_entry.url, class: 'card-list-item__thumbnail-inner', target: '_blank', rel: 'noopener' do
= image_tag(external_entry.thumbnail_url, class: 'card-list-item__thumbnail-image')

0 comments on commit 247562f

Please sign in to comment.