This commit is contained in:
dreamer 2025-11-06 19:24:34 +01:00
parent d7f267acf4
commit acd6162402
3 changed files with 2 additions and 3 deletions

View File

@ -85,7 +85,6 @@ utils['these_latest'] = function( path )
local latest_path, latest_name = {}, {}
for i, file_path in ipairs( utils.latest_files( path ) ) do
file_path = file_path:gsub( path, "/" )
table.insert( latest_path, file_path)
local temp = ""

View File

@ -23,7 +23,7 @@
<br>
<h1 class="h1">Latest uploads:</h1>
<% for i, file in ipairs(latestpath) do %>
<a class="amixlink" href="<%= '/data/' .. titles.url .. '/' .. file %>">
<a class="amixlink" href="<%= '/data/' .. titles.url .. '/' .. file:gsub("#", "%%23") %>">
<span class="mixlink"><%= latestname[i] %></span>
</a>
</br>

View File

@ -16,7 +16,7 @@
<br>
<% for i, file in ipairs(files) do %>
<a class="amixlink" href="<%= path .. file %>">
<a class="amixlink" href="<%= path .. file:gsub("#", "%%23") %>">
<span class="mixlink"><%= file %></span>
</a>
<br>