1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-09-02 19:02:37 +02:00

Use $identifier over ${identifier}

`${identifier}` has the potential to conflict with JavaScript template
literals.
This commit is contained in:
Brian Hardisty
2017-07-05 03:22:11 -07:00
parent 28445d26e8
commit 26b5e4aa3c
2 changed files with 13 additions and 13 deletions

View File

@@ -64,11 +64,11 @@
</head>
<body>
<header>
<h1 title="Last modified ${time_updated}">
<h1 title="Last modified $time_updated">
<img src="https://nicksweeting.com/images/archive.png" height="36px">
Archived Sites <img src="https://getpocket.com/favicon.ico" height="36px"> <br/>
<small>
Archived with: <a href="https://github.com/pirate/bookmark-archiver">Bookmark Archiver</a> on ${date_updated}
Archived with: <a href="https://github.com/pirate/bookmark-archiver">Bookmark Archiver</a> on $date_updated
</small>
</h1>
</header>
@@ -76,7 +76,7 @@
<thead>
<tr>
<th style="width: 120px;"><img src="https://getpocket.com/favicon.ico" height="12px"> Starred</th>
<th style="width: 45vw;">Saved Articles (${num_links})</th>
<th style="width: 45vw;">Saved Articles ($num_links)</th>
<th style="width: 50px">Files</th>
<th style="width: 50px">PDF</th>
<th style="width: 60px;font-size:0.8em;">Screenshot</th>
@@ -84,7 +84,7 @@
<th style="width: 100px;whitespace:nowrap;overflow-x:scroll;display:block">Original URL</th>
</tr>
</thead>
<tbody>${rows}</tbody>
<tbody>$rows</tbody>
</table>
</body>
</html>