add 'notes'

This commit is contained in:
Jeff Epler 2020-07-21 21:34:18 -05:00
parent a6741226c2
commit 072328c516
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
images: ['gen/main.png']
- name: Big Featureless Cube
notes: "Choice of red color is not well motivated, it was just a chance to send a string as an OpenSCAD parameter. This color is _NOT_ carried through to the STL viewer, because OpenSCAD STLs do not carry color information. Since models are zoomed, you can't see the size difference either. Whoops."
scad: main.scad
flags: -Dsize=100 -Dcolor="red"
stl: gen/big.stl

View file

@ -26,6 +26,8 @@ Sections to consider adding:
{% for asset in site.data.assets %}
- {{ asset.name }}:
{{ asset.notes }}
{% if asset.scad %}
{% assign basename = asset.scad | split: "/" | last %}
- [{{ basename }}](resources/{{ asset.scad }})