Commit 1749977f authored by Rhea Myers's avatar Rhea Myers
Browse files

Make index paths relative.

parent 9bc1d5c1
......@@ -16,18 +16,18 @@
</section>
<section class="section">
<div class="container">
<p><a href="/home/rob/projects/like-that-2020/build/subjects/index.html">Subjects</a> (white, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/ghosts/index.html">Ghosts</a> (white, cube, cluster, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/aesthetics/index.html">Aesthetics</a> (black, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/market/index.html">Market</a> (black, cube, cluster, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/citizens/index.html">Citizens</a> (polychrome, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/allies/index.html">Allies</a> (polychrome, cube, cluster, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/architecture/index.html">Architecture</a> (neoplastic, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/society/index.html">Society</a> (neoplastic, cube, cluster, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/congress/index.html">Congress</a> (flesh, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/dance/index.html">Dance</a> (flesh, cube, cluster, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/xeno/index.html">Xeno</a> (green, cube, burst, sequential)</p>
<p><a href="/home/rob/projects/like-that-2020/build/trolls/index.html">Trolls</a> (red, cube, cluster, sequential)</p>
<p><a href="./subjects/index.html">Subjects</a> (white, cube, burst, sequential)</p>
<p><a href="./ghosts/index.html">Ghosts</a> (white, cube, cluster, sequential)</p>
<p><a href="./aesthetics/index.html">Aesthetics</a> (black, cube, burst, sequential)</p>
<p><a href="./market/index.html">Market</a> (black, cube, cluster, sequential)</p>
<p><a href="./citizens/index.html">Citizens</a> (polychrome, cube, burst, sequential)</p>
<p><a href="./allies/index.html">Allies</a> (polychrome, cube, cluster, sequential)</p>
<p><a href="./architecture/index.html">Architecture</a> (neoplastic, cube, burst, sequential)</p>
<p><a href="./society/index.html">Society</a> (neoplastic, cube, cluster, sequential)</p>
<p><a href="./congress/index.html">Congress</a> (flesh, cube, burst, sequential)</p>
<p><a href="./dance/index.html">Dance</a> (flesh, cube, cluster, sequential)</p>
<p><a href="./xeno/index.html">Xeno</a> (green, cube, burst, sequential)</p>
<p><a href="./trolls/index.html">Trolls</a> (red, cube, cluster, sequential)</p>
<br>
<p><b>NOTE:</b> The mouse cursor will be hidden on each of the above
......
......@@ -181,7 +181,8 @@ const buildWorks = () => {
Object.keys(WORKS).forEach(workName => {
console.log(' ', workName);
buildWork(workName);
list += ` <p><a href="${workPagePath(workName)}">${capitalize(workName)}</a> (${WORKS[workName].join(', ').replace('_', ' ')})</p>\n`;
const relativePath = `./${workName}/index.html`;
list += ` <p><a href="${relativePath}">${capitalize(workName)}</a> (${WORKS[workName].join(', ').replace('_', ' ')})</p>\n`;
});
buildListPage(list);
fs.mkdirSync(path.join(BUILD_DIR, 'js'), { recursive: true });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment