<% const body = `

Mod Information

Name: ${mod.name}
Author: ${mod.author || 'Unknown'}
Files: ${mod.fileCount} files
Size: ${(mod.totalSize / 1024).toFixed(2)} KB
Created: ${new Date(mod.created).toLocaleString()}
Modified: ${new Date(mod.lastModified).toLocaleString()}
${mod.min_minetest_version ? `
Min Version: ${mod.min_minetest_version}
` : ''} ${mod.max_minetest_version ? `
Max Version: ${mod.max_minetest_version}
` : ''}
${mod.depends.length > 0 ? `
Dependencies:
${mod.depends.map(dep => `${dep}`).join('')}
` : ''} ${mod.optional_depends.length > 0 ? `
Optional Dependencies:
${mod.optional_depends.map(dep => `${dep}`).join('')}
` : ''}
${mod.installedWorlds.length > 0 ? `

Installed in Worlds (${mod.installedWorlds.length})

${mod.installedWorlds.map(world => `
${world.displayName} (${world.name})
${typeof csrfToken !== 'undefined' && csrfToken ? `` : ''}
`).join('')}
` : ''}

Actions

← Back to Mods
${typeof csrfToken !== 'undefined' && csrfToken ? `` : ''}
`; %> <%- include('../layout', { body: body, currentPage: 'mods', title: title }) %>