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">
|
<a jugl:attributes="href example.link" class="example bg-light border rounded">
|
||||||
<span class="mainlink">
|
<span class="mainlink">
|
||||||
<strong><span jugl:replace="example.title">title</span></strong><br>
|
<strong><span jugl:replace="example.title">title</span></strong><br>
|
||||||
<small jugl:content="'(' + example.example + ')'"></small>
|
<small jugl:content="'(' + example.link + ')'"></small>
|
||||||
</span>
|
</span>
|
||||||
<p class="description" jugl:content="example.shortdesc"></p>
|
<p class="description" jugl:content="example.shortdesc"></p>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -98,9 +98,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener('load', function () {
|
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');
|
template = new jugl.Template('template');
|
||||||
target = document.getElementById('examples');
|
target = document.getElementById('examples');
|
||||||
const params = parseParams();
|
const params = parseParams();
|
||||||
|
|||||||
@@ -193,7 +193,6 @@ class ExampleBuilder {
|
|||||||
const examples = exampleData.map((data) => {
|
const examples = exampleData.map((data) => {
|
||||||
return {
|
return {
|
||||||
link: data.filename,
|
link: data.filename,
|
||||||
example: data.filename,
|
|
||||||
title: data.title,
|
title: data.title,
|
||||||
shortdesc: data.shortdesc,
|
shortdesc: data.shortdesc,
|
||||||
tags: data.tags,
|
tags: data.tags,
|
||||||
|
|||||||
Reference in New Issue
Block a user