Remove tags / duplicate url from exported info script
The tags are not used currently. Adding the query string to the urls doesn't make sense as far as I understand it.
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
<a jugl:attributes="href example.link" class="example bg-light border rounded">
|
||||
<span class="mainlink">
|
||||
<strong><span jugl:replace="example.title">title</span></strong><br>
|
||||
<small jugl:content="'(' + example.example + ')'"></small>
|
||||
<small jugl:content="'(' + example.link + ')'"></small>
|
||||
</span>
|
||||
<p class="description" jugl:content="example.shortdesc"></p>
|
||||
</a>
|
||||
|
||||
@@ -98,9 +98,6 @@
|
||||
}
|
||||
|
||||
window.addEventListener('load', function () {
|
||||
for (let i = 0; i < info.examples.length; ++i) {
|
||||
info.examples[i].link += window.location.search;
|
||||
}
|
||||
template = new jugl.Template('template');
|
||||
target = document.getElementById('examples');
|
||||
const params = parseParams();
|
||||
|
||||
@@ -193,7 +193,6 @@ class ExampleBuilder {
|
||||
const examples = exampleData.map((data) => {
|
||||
return {
|
||||
link: data.filename,
|
||||
example: data.filename,
|
||||
title: data.title,
|
||||
shortdesc: data.shortdesc,
|
||||
tags: data.tags,
|
||||
|
||||
Reference in New Issue
Block a user