diff --git a/templates/6/example.sh b/templates/6/example.sh index b39f760..8419124 100755 --- a/templates/6/example.sh +++ b/templates/6/example.sh @@ -2,6 +2,5 @@ cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" -xsltproc \ -<(./render.sh) \ -test_card.xml +#xsltproc <(./render.sh) test_card.xml +echo TODO diff --git a/templates/6/render.sh b/templates/6/render.sh index e59c9f4..497c776 100755 --- a/templates/6/render.sh +++ b/templates/6/render.sh @@ -6,4 +6,5 @@ css_data="$(sass --style expanded style.scss)" \ jinja_data="$(cat style.html.j2)" \ js_data="$(cat style.js)" \ card_header="$(j2 templates/card_header.html.j2)" \ -j2 templates/style.xsl.j2 +j2 templates/style.html.j2 +#j2 templates/style.xsl.j2 diff --git a/templates/6/templates/style.html.j2 b/templates/6/templates/style.html.j2 new file mode 100644 index 0000000..b38d13d --- /dev/null +++ b/templates/6/templates/style.html.j2 @@ -0,0 +1,51 @@ + +{{ card_header }} +Status Card + + + + + + +{# just name all the xml fields of interest here #} +{% for value in [ + "name", + "description", + "image", + "cp", + "range", + "power", + "symbol", + "difficulty", + "duration", + "artistic_value", + "playcost", +] %} + +{% endfor %} + +{# 2hacky4me #} + + + + + +