Skip to content

Commit

Permalink
seo
Browse files Browse the repository at this point in the history
  • Loading branch information
adnjoo committed Nov 18, 2024
1 parent 8f37dd2 commit 304e27a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def flash_class_for(key)

def meta_tags(title: APP_TITLE, description: APP_DESCRIPTION, image: SCREENSHOT_LINK, url: DOMAIN, twitter_card: TWITTER_CARD)
safe_join([
tag.meta(name: "description", content: description),
tag.meta(name: "twitter:title", content: title),
tag.meta(name: "twitter:description", content: description),
tag.meta(name: "twitter:image", content: twitter_card),
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title><%= content_for(:title) || APP_NAME %></title>
<title><%= content_for(:title) || APP_TITLE %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<%= csrf_meta_tags %>
Expand Down

0 comments on commit 304e27a

Please sign in to comment.