1
0
Fork 0
mirror of synced 2024-06-26 10:00:19 +12: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
No known key found for this signature in database
GPG key ID: D38A5C417347AD45
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>

View file

@ -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>