Mercurial Hosting > linkmystyle
changeset 2:e32e4120dc70
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 21:23:39 -0600 |
parents | 2776f06236b4 |
children | b016e4b7c8da |
files | src/source.html.luan |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
diff -r 2776f06236b4 -r e32e4120dc70 src/source.html.luan --- a/src/source.html.luan Fri Jul 11 21:17:19 2025 -0600 +++ b/src/source.html.luan Fri Jul 11 21:23:39 2025 -0600 @@ -2,19 +2,13 @@ local error = Luan.error local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" -local Utils = require "site:/lib/Utils.luan" -local base_url = Utils.base_url or error() local Shared = require "site:/lib/Shared.luan" local head = Shared.head or error() local body_header = Shared.body_header or error() local footer = Shared.footer or error() -local User = require "site:/lib/User.luan" return function() - local user = User.current_required() - if user==nil then return end - local url = base_url().."/"..user.name Io.stdout = Http.response.text_writer() %> <!doctype html>