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 = {}, {} local latest_path, latest_name = {}, {}
for i, file_path in ipairs( utils.latest_files( path ) ) do for i, file_path in ipairs( utils.latest_files( path ) ) do
file_path = file_path:gsub( path, "/" )
table.insert( latest_path, file_path) table.insert( latest_path, file_path)
local temp = "" local temp = ""

View File

@ -23,7 +23,7 @@
<br> <br>
<h1 class="h1">Latest uploads:</h1> <h1 class="h1">Latest uploads:</h1>
<% for i, file in ipairs(latestpath) do %> <% 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> <span class="mixlink"><%= latestname[i] %></span>
</a> </a>
</br> </br>

View File

@ -16,7 +16,7 @@
<br> <br>
<% for i, file in ipairs(files) do %> <% 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> <span class="mixlink"><%= file %></span>
</a> </a>
<br> <br>