hscc

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

config.lua (1915B)


      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://keyoxide.org/hkp/hugo@soucy.cc",
     29       "https://bandcamp.com/hs0ucy",
     30       "https://mastodon.sdf.org/@hs0ucy",
     31       "https://pixelfed.social/hs0ucy",
     32       "https://peertube.fedi.quebec/accounts/hs0ucy",
     33       "https://github.com/hs0ucy",
     34       "https://gitlab.com/hs0ucy",
     35       "https://codeberg.org/hs0ucy",
     36       "https://notabug.org/hs0ucy",
     37       "https://stackoverflow.com/users/6556626/hs0ucy",
     38       "https://www.openstreetmap.org/user/hs0ucy",
     39       "https://forumsdulibre.quebec/u/hs0ucy",
     40       "https://freepo.st/freepost.cgi/user/public/hs0ucy",
     41       "https://hs0ucy.neocities.org/",
     42       "http://hs0ucy.sdf.org/",
     43       "gopher://sdf.org:70/1/users/hs0ucy"
     44     },
     45   },
     46 
     47   paths = {
     48     content = 'content/',
     49     css = 'public_html/css/',
     50     images = 'public_html/images/',
     51     public_html = 'public_html/',
     52     templates = 'templates/',
     53   },
     54 
     55   -- Accepted mime types of the non-textual content
     56   mimetypes = {
     57     'image/svg+xml',
     58     'image/gif',
     59     'image/jpeg',
     60     'image/png',
     61     'application/pdf',
     62     'text/plain'
     63   },
     64 
     65   months_fr = {
     66     ["01"] = 'janvier',
     67     ["02"] = 'février',
     68     ["03"] = 'mars',
     69     ["04"] = 'avril',
     70     ["05"] = 'mai',
     71     ["06"] = 'juin',
     72     ["07"] = 'juillet',
     73     ["08"] = 'août',
     74     ["09"] = 'septembre',
     75     ["10"] = 'octobre',
     76     ["11"] = 'novembre',
     77     ["12"] = 'décembre'
     78   }
     79 }