Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VietTH-VenShop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tran Hoang Viet
VietTH-VenShop
Commits
e6342c44
Commit
e6342c44
authored
Jul 23, 2015
by
Tran Hoang Viet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VietTH: update meta tags
parent
4b3c492d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/controllers/meta_management.rb
+5
-2
No files found.
app/controllers/meta_management.rb
View file @
e6342c44
...
...
@@ -8,11 +8,12 @@ module MetaManagement extend ActiveSupport::Concern
def
meta_attributes_default
{
site_name:
'Venshop'
,
image:
ActionController
::
Base
.
helpers
.
asset_url
(
'logo.png'
),
title:
'Venshop Zigexn VeNtura'
,
description:
'Venshop'
,
keywords:
'Ventura, Zigexn, venshop'
,
type:
'
url
'
type:
'
product
'
}
end
...
...
@@ -28,13 +29,15 @@ module MetaManagement extend ActiveSupport::Concern
keywords:
attributes
[
:keywords
],
separator:
"—"
.
html_safe
,
og:
{
site_name:
attributes
[
:site_name
],
title:
attributes
[
:title
],
type:
attributes
[
:type
],
url:
Settings
.
base
_url
,
url:
request
.
original
_url
,
image:
attributes
[
:image
],
description:
attributes
[
:description
]
},
twitter:
{
site_name:
attributes
[
:site_name
],
title:
attributes
[
:title
],
description:
attributes
[
:description
],
card:
attributes
[
:type
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment