commit f06b8ec834b1e53e5d7c079ffc7e3e1e34154143
parent 58424b1cab14dab7916b3d56f12d38980cf5703f
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sat, 18 Aug 2018 10:00:00 -0400
Convert `siteconfig` global to local
Diffstat:
M | site-config.lua | | | 117 | ++++++++++++++++++++++++++++++++++++++++--------------------------------------- |
1 file changed, 59 insertions(+), 58 deletions(-)
diff --git a/site-config.lua b/site-config.lua
@@ -3,67 +3,68 @@
--
local siteconfig = {
- domainname = "hugo.soucy.cc",
- url = "https://hugo.soucy.cc",
- urldev = "http://localhost:8181",
- portdev = "8181",
- baseurl = "http://localhost:8181",
- language = "fr",
- created = "2014-02-19",
+ domainname = "hugo.soucy.cc",
+ url = "https://hugo.soucy.cc",
+ urldev = "http://localhost:8181",
+ portdev = "8181",
+ baseurl = "http://localhost:8181",
+ language = "fr",
+ created = "2014-02-19",
- metas = {
- description = "Développeur Web frontend ayant plus de 10 ans d'expérience dans le milieu des technologies de l'information. Il habite dans le quartier Limoilou à Québec.",
- keywords = "développeur frontend, développeur web front-end, intégrateur web, webdev, ville de Québec, Limoilou",
- generator = "Ferron SSG",
- },
+ metas = {
+ description = "Développeur Web frontend ayant plus de 10 ans d'expérience dans le milieu des technologies de l'information. Il habite dans le quartier Limoilou à Québec.",
+ keywords = "développeur frontend, développeur web front-end, intégrateur web, webdev, ville de Québec, Limoilou",
+ generator = "Ferron SSG",
+ },
- author = {
- name = "Hugo Soucy",
- nickname = "hs0ucy",
- jobtitle = "Développeur Web frontend",
- email = "hugo@soucy.cc",
- phone = "581-996-6481",
- locality ="Québec",
- region = "Qc",
- uri = "https://hugo.soucy.cc/#hs",
- relme = {
- "https://hugo.soucy.cc/#hs",
- "http://shr.soucy.cc/",
- "https://bandcamp.com/hs0ucy",
- "https://framasphere.org/u/hs0ucy",
- "https://mastodon.social/@hs0ucy",
- "https://micro.blog/hs0ucy",
- "http://twitter.com/hs0ucy",
- "https://hs0ucy.tumblr.com/",
- "https://www.linkedin.com/in/hs0ucy/",
- "https://plus.google.com/+hs0ucy",
- "https://github.com/hs0ucy",
- "https://gitlab.com/hs0ucy",
- "https://bitbucket.org/hs0ucy/",
- "irc://hs0ucy@irc.freenode.net/",
- "https://%40hs0ucy@nxt.soucy.cc",
- "https://stackoverflow.com/users/6556626/hs0ucy",
- "https://www.openstreetmap.org/user/hs0ucy",
- "https://www.instagram.com/pistocyclant/",
- "sms:+15819966481",
- },
- },
+ author = {
+ name = "Hugo Soucy",
+ nickname = "hs0ucy",
+ jobtitle = "Développeur Web frontend",
+ email = "hugo@soucy.cc",
+ phone = "581-996-6481",
+ locality ="Québec",
+ region = "Qc",
+ uri = "https://hugo.soucy.cc/#hs",
+ relme = {
+ "https://hugo.soucy.cc/#hs",
+ "http://shr.soucy.cc/",
+ "https://bandcamp.com/hs0ucy",
+ "https://framasphere.org/u/hs0ucy",
+ "https://mastodon.social/@hs0ucy",
+ "https://micro.blog/hs0ucy",
+ "http://twitter.com/hs0ucy",
+ "https://hs0ucy.tumblr.com/",
+ "https://www.linkedin.com/in/hs0ucy/",
+ "https://plus.google.com/+hs0ucy",
+ "https://github.com/hs0ucy",
+ "https://gitlab.com/hs0ucy",
+ "https://bitbucket.org/hs0ucy/",
+ "irc://hs0ucy@irc.freenode.net/",
+ "https://%40hs0ucy@nxt.soucy.cc",
+ "https://stackoverflow.com/users/6556626/hs0ucy",
+ "https://www.openstreetmap.org/user/hs0ucy",
+ "https://www.instagram.com/pistocyclant/",
+ "sms:+15819966481",
+ },
+ },
- paths = {
- archetypes = "/archetypes",
- content = "/content",
- data = "/data",
- html = "/public_html",
- static = "/static/dst",
- templates = "/templates",
- },
+ paths = {
+ archetypes = "/archetypes",
+ content = "/content",
+ data = "/data",
+ 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",
- }
+ -- Accepted mime types of the non-textual content
+ mimetypes = {
+ "image/svg+xml",
+ "image/jpeg",
+ "image/png",
+ "application/pdf",
+ }
}
+
return siteconfig