mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 19:29:03 +01:00
add somethin to check if data video
This commit is contained in:
parent
b08b73ae52
commit
349cc76dfa
1 changed files with 2 additions and 1 deletions
|
@ -181,6 +181,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
const engagement = data.engagement;
|
const engagement = data.engagement;
|
||||||
var inv_comments = data.comments;
|
var inv_comments = data.comments;
|
||||||
const inv_vid = data.vid;
|
const inv_vid = data.vid;
|
||||||
|
if(data.video) {
|
||||||
if(json) {
|
if(json) {
|
||||||
|
|
||||||
if(json.Title) {
|
if(json.Title) {
|
||||||
|
@ -238,7 +239,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
});
|
});
|
||||||
} }
|
} }
|
||||||
|
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue