commit 0732b32e802f1a38b9454a5a0b3a44c447fc7963
parent e766a6c303eeead0a465a58202a985560db65388
Author: Hugo Soucy <hugo@soucy.cc>
Date: Thu, 22 Apr 2021 16:07:52 -0400
Replace domainname by siteurl
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/config.lua b/config.lua
@@ -9,13 +9,11 @@ return {
App Mandatory Values
(If you edit them do it carefully)
- - domainname
- siteurl
- language
- paths.*
- mimetypes.*
]]
- domainname = "grgmelies.tld",
siteurl = "https://grgmelies.tld",
language = "en",
diff --git a/templates/head.html b/templates/head.html
@@ -2,7 +2,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title><%= title -%> — <%= domainname -%></title>
+ <title><%= title -%> — <%= siteurl:match('^%w+://([^/]+)') -%></title>
<link
href="/css/simple.min.css"