diff options
author | Florrie <towerofnix@gmail.com> | 2018-09-01 07:37:44 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-09-01 07:37:44 -0300 |
commit | eb54fe93222caa912b05e75c1d29a653f1e3aa7b (patch) | |
tree | 009caf122058c4b7c9cb9ea636a79575a4f4cc1a /build.js | |
parent | b1683f11137811cb32554adca7755ea9319457d4 (diff) |
New blog post, tiny tweaks
Diffstat (limited to 'build.js')
-rw-r--r-- | build.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.js b/build.js index dbd57b9..a6efc7d 100644 --- a/build.js +++ b/build.js @@ -600,7 +600,7 @@ const parsePostText = async (text) => { return fixWS` <div class="art-container"><div> - <a href="static/media/${encodeURIComponent(filename)}.png"><img alt="![${filename.match(/^[0-9]+-(.*)$/)[1]}" src="static/media/${encodeURIComponent(filename)}.png"></a> + <a href="static/media/${encodeURIComponent(filename)}.png"><img alt="${filename.match(/^[0-9]+-(.*)$/)[1]}" src="static/media/${encodeURIComponent(filename)}.png"></a> ${options.noext ? '' : fixWS` <br>(<a href="static/media/${encodeURIComponent(filename)}.${options.ext}">${filename.match(/^[0-9]+-(.*)$/)[1]}.${options.ext}</a>) `} |