diff dottes.html.tuneindex @ 943:d6e2a281cceb build-default-344

Change web page layout. Put tune contents under 'tunes/<name>' or 'tunes-<instrument>/<name>'. That way they won't move if the tune gets moved between Bookes. For now I have not attempted to redirect old URLs.
author Jim Hague <jim.hague@acm.org>
date Mon, 05 Aug 2019 23:25:28 +0100
parents 833e6185b6a2
children
line wrap: on
line diff
--- a/dottes.html.tuneindex	Mon Aug 05 23:22:04 2019 +0100
+++ b/dottes.html.tuneindex	Mon Aug 05 23:25:28 2019 +0100
@@ -1,15 +1,15 @@
 <div class="dottes-tune-list-item">
   <div class="dottes-tune-list-item-link">
-    <a class="dottes-tune-link" href="${name}.html">${fulltitle}</a>
+    <a class="dottes-tune-link" href="../${tunedir}/index.html">${fulltitle}</a>
   </div>
   <div class="dottes-tune-list-item-learner-link">
-    <a class="dottes-tune-link" href="learner-${name}.html">
+    <a class="dottes-tune-link" href="../${tunedir}/learner.html">
       <img class="dottes-tune-table-image" src="../img/learner.png" alt="Learner page" title="Learner page for ${fulltitle}">
     </a>
   </div>
   <div class="dottes-tune-list-item-image">
-    <a href="${name}.html">
-      <img class="dottes-tune-table-image" src="firstline-${name}.png"
+    <a href="../${tunedir}/index.html">
+      <img class="dottes-tune-table-image" src="../${tunedir}/firstline-${name}.png"
            alt="${fulltitle} first line" title="${fulltitle} first line">
     </a>
   </div>