keep vars in repo

this is a repo for personal use
This commit is contained in:
bdeshi 2022-05-23 21:03:13 +06:00
parent ec9cfc83fe
commit ca2c548639
Signed by: bdeshi
GPG Key ID: 410D03DA9A3468E0

View File

@ -1,21 +1,31 @@
-
var first_name = '<fn>',
last_name = '<ln>',
site_url = 'http://localhost',
description = '<description>',
meta_description = "<meta-description>"
var first_name = 'Sammay',
last_name = 'Sarkar',
name = first_name.toLowerCase() + '_' + last_name.toLowerCase(),
site_url = 'https://sammay.sarkar.website',
description = 'server magician',
meta_description = "a self-taught tech professional with a strong background in system administration and general programming, with proven hands-on experience in modern DevOps, cloud, and IaC work areas."
var section = 7,
section_name = 'Miscellaneous Information Manual',
name = first_name.toLowerCase() + '_' + last_name.toLowerCase()
section_name = 'Miscellaneous Information Manual'
var version = require('child_process').execSync('git rev-parse HEAD').toString().trim(),
short_version = version.substring(0, 7),
date = (new Date()).toDateString(),
date = (new Date()).toDateString()
year = (new Date()).getFullYear()
var contacts = {
'email': '<a href="mailto:<mail>"><mail></a>',
'pubkey': '<a href="assets/pubkey.asc">0x<fingerprint></a>',
'linkedin': '<a href="https://www.linkedin.com/in/<name>/"><name></a>',
'cell': '<span id="phone"><a href="tel:<phone>"><phone></a> <span id="phone-hint">/* please consider texting first? */</span></span>',
'email': '<a href="mailto:sammay@sarkar.website">sammay@sarkar.website</a>',
'pubkey': '<a href="assets/pubkey.asc">0x2F66DAA6F22F092C</a>',
'linkedin': '<a href="https://www.linkedin.com/in/sammay-sarkar/">sammay-sarkar</a>',
'cell': '<span id="phone"><a href="tel:+8801622085295">+8801622085295</a> <span id="phone-hint">/* please consider texting first? */</span></span>',
}
var source_link = 'https://<host>/<user>/<repo>/commit/' + version
include vars.local.pug
var links = {
'blog': '<a href="https://bdeshi.space">bdeshi.space</a>',
'showcase': '<a href="/portfolio">/portfolio</a>',
'github': '<a href="https://github.com/bdeshi">github.com/bdeshi</a>',
// 'fediverse': '<a href="https://mastodon.social/@bdeshi">@bdeshi</a>',
'telegram': '<a href="https://t.me/bdeshi">bdeshi</a>',
'irc': 'bdeshi at libera.chat'
}
var monospace_font_css = "https://fonts.googleapis.com/css2?"
+ "family=IBM+Plex+Mono:ital,wght@0,400;0,700;1,400;1,700"
+ "display=swap"
var source_link = 'https://git.bdeshi.space/bdeshi/resume-manpage/commit/' + version