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>', var first_name = 'Sammay',
last_name = '<ln>', last_name = 'Sarkar',
site_url = 'http://localhost', name = first_name.toLowerCase() + '_' + last_name.toLowerCase(),
description = '<description>', site_url = 'https://sammay.sarkar.website',
meta_description = "<meta-description>" 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, var section = 7,
section_name = 'Miscellaneous Information Manual', section_name = 'Miscellaneous Information Manual'
name = first_name.toLowerCase() + '_' + last_name.toLowerCase()
var version = require('child_process').execSync('git rev-parse HEAD').toString().trim(), var version = require('child_process').execSync('git rev-parse HEAD').toString().trim(),
short_version = version.substring(0, 7), short_version = version.substring(0, 7),
date = (new Date()).toDateString(), date = (new Date()).toDateString()
year = (new Date()).getFullYear() year = (new Date()).getFullYear()
var contacts = { var contacts = {
'email': '<a href="mailto:<mail>"><mail></a>', 'email': '<a href="mailto:sammay@sarkar.website">sammay@sarkar.website</a>',
'pubkey': '<a href="assets/pubkey.asc">0x<fingerprint></a>', 'pubkey': '<a href="assets/pubkey.asc">0x2F66DAA6F22F092C</a>',
'linkedin': '<a href="https://www.linkedin.com/in/<name>/"><name></a>', 'linkedin': '<a href="https://www.linkedin.com/in/sammay-sarkar/">sammay-sarkar</a>',
'cell': '<span id="phone"><a href="tel:<phone>"><phone></a> <span id="phone-hint">/* please consider texting first? */</span></span>', '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 var links = {
include vars.local.pug '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