npaste is a simple pastebin for text and images, supporting end-to-end encryption using GPG.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
557 B

extends layout
block head
if paste.encrypted === true
script(src='/javascripts/openpgp.min.js')
script(src='/javascripts/decrypt.js')
if paste.vault
script.
window.vault = '#{paste.vault}';
block content
#content
include header.jade
if paste.encrypted === true
div#data #{data}
p.
#[a(href="#{rawUrl}") #[img#image.pasted(src="")]]
p#decrypting Decrypting paste..
if paste.encrypted === false
p.
#[a(href="#{rawUrl}") #[img#image.pasted(src="#{data}")]]
include footer.jade