Commit 0596378f authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/add_content.js

parent 14e93f20
Pipeline #8961 passed with stage
in 9 seconds
......@@ -10,7 +10,7 @@ function addcontent(item) {
} else if (urlKeyword == null || (item.item.keywords.includes(urlKeyword))) {
// Prepare YouTube Link
// var array_contains_youtube = true
......@@ -76,6 +76,7 @@ function addcontent(item) {
'<div class="card mb-4 shadow-sm extension overflow-auto">' +
'<h5>' + item.item.title + ' <span class="content-subtitle text-muted"> ' + item.item.project + '</span></h5>' +
'<img class="thumbimg" src="' + item.item.imageLink + '" alt="">' +
'<img class="thumbimg" src="' + item.item.sdgImage + '" alt="SDG x Projecte Image" style="max-width: 100%;">' +
'<div class="card-body">' +
'<p class="card-text-lg small">' +
description +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment