Skip to content

Commit

Permalink
Basic OpenGraph tags for tournaments. (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
plural authored Feb 17, 2025
1 parent 9867cd3 commit eee6494
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/tournaments/show.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
= content_for :head do
meta property="og:title" content="#{@tournament.name}"
meta property="og:description" content="#{@tournament.name} on Cobra, hosted by #{@tournament.user.nrdb_username}"
meta property="og:url" content="#{tournament_url(@tournament.slug, request)}"
meta property="og:site_name" content="Cobra Netrunner Tournament Software"

.container
.row
= render 'overview_card'
Expand Down

0 comments on commit eee6494

Please sign in to comment.