Skip to content

Commit

Permalink
route to data.json test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoxolotl committed Oct 4, 2024
1 parent c135968 commit 603dc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h1><a href="/" data-simply-field="homelink" data-simply-path="/">Spectral</a></
</template>
<template id="Spotlight">
<section class="spotlight wrapper alt style2">
<div class="image"><img data-simply-field="image" src="img/pic01.jpg" alt=""></div>
<div class="image"><img data-simply-field="image" src="./data/img/pic01.jpg" alt=""></div>
<div class="content">
<h2 data-simply-field="title">Magna primis lobortis<br>
sed ullamcorper</h2>
Expand Down Expand Up @@ -321,7 +321,7 @@ <h2 data-simply-field="section one title">Arcu aliquet vel lobortis ata nisl<br
<!-- /Page HTML templates -->
</div>
<script src="./assets/js/simply.everything.js"></script>
<script src="./assets/js/simply-edit.js" data-api-key="github" data-simply-repo-branch="main/data"></script>
<script src="./assets/js/simply-edit.js" data-api-key="github" data-simply-data="./data/data.json" data-simply-repo-branch="main"></script>
<script>
/* Transformers */
editor.transformers = {
Expand Down

0 comments on commit 603dc54

Please sign in to comment.