Skip to content

Commit

Permalink
example of crosswalk
Browse files Browse the repository at this point in the history
  • Loading branch information
vnessamartinez committed Aug 30, 2024
1 parent 64c9bec commit cac983b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8,089 deletions.
2 changes: 2 additions & 0 deletions _data/crosswalk.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
assetName,assetType,png,jpg,avif,webp,notes
baker_image,img,,/assets/images/baker.jpg,,,You can also add any other fields you may need
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ <h1 class="headline">{{ meta.headline }}</h1>
</div>
</article>
{% endblock content %}

{% block extra_scripts %}
<script>
window.CROSSWALK = {{ crosswalk | prepareCrosswalk | dump }};
</script>
{% endblock extra_scripts %}
Loading

0 comments on commit cac983b

Please sign in to comment.