Skip to content

Commit

Permalink
Add meta description for collections and projects
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Aug 25, 2024
1 parent 433d504 commit 49b6820
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/collections/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<% @meta_title = "Collections" %>
<% @meta_description = "Collections of analysed open source software projects" %>

<div class="container-md">
<ul class="nav nav-tabs mb-4">
Expand Down
1 change: 1 addition & 0 deletions app/views/collections/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<% @meta_title = "#{@collection.name} collection" %>
<% @meta_description = "Collection of analysed open source software projects in the #{@collection.name} collection" %>

<div class="container-md">
<h1 class='mb-4'>
Expand Down
1 change: 1 addition & 0 deletions app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<% @meta_title = "#{@project.url} summary" %>
<% @meta_description = "Summary of the open source software project at #{@project.url}" %>

<div class="container-md">
<h1>
Expand Down

0 comments on commit 49b6820

Please sign in to comment.