aboutsummaryrefslogtreecommitdiff
path: root/src/Post.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Post.js')
-rw-r--r--src/Post.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Post.js b/src/Post.js
index ba3f6e8..438e0fd 100644
--- a/src/Post.js
+++ b/src/Post.js
@@ -200,7 +200,14 @@ const Post = ({ index, post, locked, threadId, currentBoard, nightMode }) => {
/>
}
/>
- {post.file} {post.image_width}x{post.image_height}{" "}
+ <a
+ target="_blank"
+ rel="noopener noreferrer"
+ href={`https://bienvenidoainternet.org/${currentBoard.dir}/src/${post.file}`}
+ >
+ {post.file}
+ </a>{" "}
+ {post.image_width}x{post.image_height}{" "}
{filesize(post.file_size, { bits: true })}
</div>
) : null}