1
0
mirror of synced 2024-11-28 00:20:48 +01:00

Added download attribute

This commit is contained in:
WrathZA 2016-11-29 11:22:41 +02:00 committed by GitHub
parent 75fd16a600
commit 405d956080

View File

@ -258,7 +258,7 @@ module.exports = function(grunt) {
process: function(content, srcpath) {
// TODO: Do all this in Jade
content = content.replace(
'<a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;">Download CyberChef<img src="images/cloud_computing_download-plain-24x24.png" /></a>',
'<a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;" download>Download CyberChef<img src="images/cloud_computing_download-plain-24x24.png" /></a>',
'<span style="float: left; margin-left: 10px;">Compile time: ' + grunt.template.today("dd/mm/yyyy HH:MM:ss") + ' UTC</span>');
return grunt.template.process(content, template_options);
}