diff dottes.html.tuneindex @ 588:afc031477784

Replace sed substitution with Python templating for HTML and LaTeX output.
author Jim Hague <jim.hague@acm.org>
date Wed, 02 Nov 2016 00:21:18 +0000
parents a6a096bb279a
children dfdea8422368
line wrap: on
line diff
--- a/dottes.html.tuneindex	Mon Oct 31 23:55:28 2016 +0000
+++ b/dottes.html.tuneindex	Wed Nov 02 00:21:18 2016 +0000
@@ -1,14 +1,14 @@
 <div class="dottes-tune-list-item">
   <div class="dottes-tune-list-item-link">
-    <a class="dottes-tune-link" href="@TUNE@.html">@TITLE@</a>
-    <a href="learner-@TUNE@.html">
+    <a class="dottes-tune-link" href="${name}.html">${title}</a>
+    <a href="learner-${name}.html">
       <img class="dottes-tune-table-image" src="../img/learner.png" alt="Learner">
     </a>
   </div>
   <div class="dottes-tune-list-item-image">
-    <a href="@TUNE@.html">
-      <img class="dottes-tune-table-image" src="firstline-@TUNE@.png"
-           alt="@TITLE@ first line">
+    <a href="${name}.html">
+      <img class="dottes-tune-table-image" src="firstline-${name}.png"
+           alt="${title} first line">
     </a>
   </div>
 </div>