hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

config.lua (1676B)


      1 --
      2 -- Website Configuration File
      3 --
      4 
      5 return {
      6   siteurl = "https://hugo.soucy.cc",
      7   language = "fr",
      8 
      9   metas = {
     10     generator = "Satelito",
     11   },
     12 
     13   sitemapxml = true,
     14 
     15   author = {
     16     name = "Hugo Soucy",
     17     nickname = "hs0ucy",
     18     jobtitle = "Développeur Web frontend",
     19     email = "hugo@soucy.cc",
     20     xmpp = "hs0ucy@soucy.cc",
     21     phone = "581-996-6481",
     22     locality ="Lévis",
     23     region = "Qc",
     24     uri = "https://hugo.soucy.cc/#hs",
     25     avatar = "https://hugo.soucy.cc/hs0ucy-2018--240px.png",
     26     relme = {
     27       "https://soucy.cc/",
     28       "https://bandcamp.com/hs0ucy",
     29       "https://mastodon.sdf.org/@hs0ucy",
     30       "https://github.com/hs0ucy",
     31       "https://codeberg.org/hs0ucy",
     32       "https://stackoverflow.com/users/6556626/hs0ucy",
     33       "https://www.openstreetmap.org/user/hs0ucy",
     34       "https://forumsdulibre.quebec/u/hs0ucy",
     35       "http://hs0ucy.sdf.org/",
     36       "https://codepen.io/hs0ucy/",
     37       "gopher://smolnet.soucy.cc/",
     38       "finger://hs0ucy@smolnet.soucy.cc/",
     39     },
     40   },
     41 
     42   paths = {
     43     content = 'content/',
     44     css = 'public_html/css/',
     45     images = 'public_html/images/',
     46     public_html = 'public_html/',
     47     templates = 'templates/',
     48   },
     49 
     50   -- Accepted mime types of the non-textual content
     51   mimetypes = {
     52     'image/svg+xml',
     53     'image/gif',
     54     'image/jpeg',
     55     'image/png',
     56     'application/pdf',
     57     'text/plain'
     58   },
     59 
     60   months_fr = {
     61     ["01"] = 'janvier',
     62     ["02"] = 'février',
     63     ["03"] = 'mars',
     64     ["04"] = 'avril',
     65     ["05"] = 'mai',
     66     ["06"] = 'juin',
     67     ["07"] = 'juillet',
     68     ["08"] = 'août',
     69     ["09"] = 'septembre',
     70     ["10"] = 'octobre',
     71     ["11"] = 'novembre',
     72     ["12"] = 'décembre'
     73   }
     74 }