Skip to content

Commit 89b360b

Browse files
committed
merging devel
2 parents 4e83464 + db64bfb commit 89b360b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/assets/scad.viewer.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<strong>STL</strong>
116116
</td>
117117
<td>
118-
<a href="{{ stlFileUrl }}">{{ stlFile }}</a>
118+
<a href="{{ stlFileUrl | url }}">{{ stlFile }}</a>
119119
</td>
120120
</tr>
121121
</table>

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eleventy-plugin-scad",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Eleventy plugin to treat SCAD files as templates that need rendering to STL and showcased",
55
"keywords": [
66
"eleventy",

src/assets/scad.viewer.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<strong>STL</strong>
116116
</td>
117117
<td>
118-
<a href="{{ stlFileUrl }}">{{ stlFile }}</a>
118+
<a href="{{ stlFileUrl | url }}">{{ stlFile }}</a>
119119
</td>
120120
</tr>
121121
</table>

src/core/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function addScadCollectionVirtualTemplate(
3434
DEFAULT_COLLECTION_TEMPLATE,
3535
`<ul>
3636
{% for item in collections.scad %}
37-
<li><a href="/{{ item.data.slug }}">{{ item.data.title }}</a></li>
37+
<li><a href="{{ item.data.slug | url }}">{{ item.data.title }}</a></li>
3838
{% endfor %}
3939
</ul>`,
4040
{

0 commit comments

Comments
 (0)