From 172eb2b767127a7207f16f87a90d7e2870f902a2 Mon Sep 17 00:00:00 2001 From: bdeshi Date: Mon, 23 May 2022 17:31:10 +0600 Subject: [PATCH] update vars sample --- vars.pug | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/vars.pug b/vars.pug index a9f25dd..5a5ef32 100644 --- a/vars.pug +++ b/vars.pug @@ -1,3 +1,20 @@ - - var variable = 'value' -include vars.local.pug + var first_name = '', + last_name = '', + site_url = 'http://localhost', + description = '', + meta_description = "" + var section = 7, + section_name = 'Miscellaneous Information Manual', + name = first_name.toLowerCase() + '_' + last_name.toLowerCase() + var version = require('child_process').execSync('git rev-parse HEAD').toString().trim(), + short_version = version.substring(0, 7), + date = (new Date()).toDateString(), + year = (new Date()).getFullYear() + var contacts = { + 'email': '', + 'pubkey': '0x', + 'linkedin': '', + 'cell': ' /* please consider texting first? */', + } + var source_link = 'https://///commit/' + version