Use $identifier
over ${identifier}
`${identifier}` has the potential to conflict with JavaScript template literals.
This commit is contained in:
parent
28445d26e8
commit
26b5e4aa3c
2 changed files with 13 additions and 13 deletions
|
@ -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>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<tr>
|
||||
<td>${time}</td>
|
||||
<td><a href="${archive_url}" style="font-size:1.4em;text-decoration:none;color:black;" title="${title}">
|
||||
<img src="${favicon_url}">
|
||||
${title} <small style="background-color: #eee;border-radius:4px; float:right">${tags}</small>
|
||||
<td>$time</td>
|
||||
<td><a href="$archive_url" style="font-size:1.4em;text-decoration:none;color:black;" title="$title">
|
||||
<img src="$favicon_url">
|
||||
$title <small style="background-color: #eee;border-radius:4px; float:right">$tags</small>
|
||||
</td>
|
||||
<td style="text-align:center"><a href="${files_url}" title="Files">📂</a></td>
|
||||
<td style="text-align:center"><a href="${pdf_link}" title="PDF">📄</a></td>
|
||||
<td style="text-align:center"><a href="${screenshot_link}" title="Screenshot">🖼</a></td>
|
||||
<td style="text-align:center"><a href="${archive_org_url}" title="Archive.org">🏛</a></td>
|
||||
<td>🔗 <img src="${google_favicon_url}" height="16px"> <a href="${url}">${url}</a></td>
|
||||
<td style="text-align:center"><a href="$files_url" title="Files">📂</a></td>
|
||||
<td style="text-align:center"><a href="$pdf_link" title="PDF">📄</a></td>
|
||||
<td style="text-align:center"><a href="$screenshot_link" title="Screenshot">🖼</a></td>
|
||||
<td style="text-align:center"><a href="$archive_org_url" title="Archive.org">🏛</a></td>
|
||||
<td>🔗 <img src="$google_favicon_url" height="16px"> <a href="$url">$url</a></td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue