Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
84cc5391
Commit
84cc5391
authored
Sep 27, 2019
by
les
Browse files
[fix] imgPath already starts with slash
parent
9737acf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
pages/event/_id.vue
View file @
84cc5391
...
...
@@ -92,7 +92,7 @@ export default {
{
hid
:
'
og-title
'
,
property
:
'
og:title
'
,
content
:
this
.
event
.
title
},
{
hid
:
'
og-url
'
,
property
:
'
og:url
'
,
content
:
`
${
this
.
settings
.
baseurl
}
/event/
${
this
.
event
.
id
}
`
},
{
property
:
'
og:type
'
,
content
:
'
event
'
},
{
property
:
'
og:image
'
,
content
:
`
${
this
.
settings
.
baseurl
}
/
${
this
.
imgPath
}
`
},
{
property
:
'
og:image
'
,
content
:
`
${
this
.
settings
.
baseurl
}${
this
.
imgPath
}
`
},
{
property
:
'
og:site_name
'
,
content
:
this
.
settings
.
title
},
{
property
:
'
og:updated_time
'
,
content
:
moment
.
unix
(
this
.
event
.
start_datetime
).
format
()
},
{
property
:
'
article:published_time
'
,
content
:
moment
.
unix
(
this
.
event
.
start_datetime
).
format
()
},
...
...
@@ -103,7 +103,7 @@ export default {
{
property
:
'
twitter:description
'
,
content
:
this
.
event
.
description
.
replace
(
"
\n
"
,
''
).
slice
(
0
,
100
)
}
],
link
:
[
{
rel
:
'
image_src
'
,
href
:
`
${
this
.
settings
.
baseurl
}
/
${
this
.
imgPath
}
`
},
{
rel
:
'
image_src
'
,
href
:
`
${
this
.
settings
.
baseurl
}${
this
.
imgPath
}
`
},
{
rel
:
'
alternate
'
,
type
:
'
application/rss+xml
'
,
title
:
this
.
settings
.
title
,
href
:
this
.
settings
.
baseurl
+
'
/feed/rss
'
},
...
tags_feed
,
place_feed
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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