hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit e43e38a10a01498dbd314cf34785074e1a936070
parent a4dc8a55050cd0319a69d65c943ad87769edf7a0
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  1 Dec 2017 15:17:10 -0500

Put a mime types table in site.config.lua

Diffstat:
Msite.config.lua | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/site.config.lua b/site.config.lua @@ -2,7 +2,7 @@ -- Website Configuration File -- -SITE = { +SITE = { DOMAINNAME = "hugo.soucy.cc", URL = "http://hugo.soucy.cc", URLDEV = "http://localhost:8181", @@ -40,5 +40,13 @@ SITE = { HTML = "/public_html", STATIC = "/static/dst", TEMPLATES = "/templates" + }, + + -- Accepted mime types of the non-textual content + MIMETYPES = { + "image/svg+xml", + "image/jpeg", + "image/png", + "application/pdf" } }