Skip to content

Commit

Permalink
Add meta tags for account profile page to enhance SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Nov 26, 2024
1 parent 7862489 commit e28b928
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/accounts/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<% @meta_title = "Maintainers" %>
<% @meta_description = "Accounts that are maintainers on GitHub Sponsors" %>

<div class="container-sm">
<ul class="nav nav-tabs my-3">
<li class="nav-item">
Expand Down
3 changes: 3 additions & 0 deletions app/views/accounts/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<% @meta_title = @account.login %>
<% @meta_description = "#{@account.login} on GitHub Sponsors, showing their profile, sponsorships, and featured works" %>

<div class="container-sm">
<h1>
<%= link_to @account.login, @account.html_url, target: :_blank %>
Expand Down
3 changes: 3 additions & 0 deletions app/views/accounts/sponsors.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<% @meta_title = "Sponsors" %>
<% @meta_description = "Accounts that have sponsored maintainers on GitHub Sponsors" %>

<div class="container-sm">
<ul class="nav nav-tabs my-3">
<li class="nav-item">
Expand Down

0 comments on commit e28b928

Please sign in to comment.