tablaster.dev/index.html

62 lines
No EOL
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Meta tags for SEO -->
<meta name="description"
content="Venkatesh Chaturvedi, an Associate Support Engineer at Atlassian, passionate about Linux and FOSS.">
<meta name="keywords"
content="Venkatesh Chaturvedi, Blaster4385, tablaster, FOSS, CLI tools, Atlassian, Linux, Android, Open Source">
<meta name="author" content="Venkatesh Chaturvedi">
<meta name="robots" content="index, follow">
<!-- Open Graph meta tags for social sharing -->
<meta property="og:title" content="Blaster4385">
<meta property="og:description"
content="Venkatesh Chaturvedi, an Associate Support Engineer at Atlassian, passionate about Linux and FOSS.">
<meta property="og:image" content="https://github.com/Blaster4385.png">
<meta property="og:url" content="https://tablaster.dev">
<meta property="og:type" content="website">
<!-- Twitter Card meta tags for social sharing -->
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@Blaster4385">
<meta name="twitter:title" content="Blaster4385">
<meta name="twitter:description"
content="Venkatesh Chaturvedi, an Associate Support Engineer at Atlassian, passionate about Linux and FOSS.">
<meta name="twitter:image" content="https://github.com/Blaster4385.png">
<title>Blaster4385</title>
<link rel="icon" type="image/png" href="https://github.com/Blaster4385.png">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
</head>
<body>
<main class="container">
<header id="header">
<h1>$ tablaster.dev</h1>
</header>
<div id="markdown"></div>
</main>
<script src="markdown.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Get the pathname of the URL
const path = window.location.pathname;
// Remove leading slash if present
const trimmedPath = path.replace(/^\/|\/$/g, '');
if (trimmedPath === '') {
loadMarkdownFile('home.md');
return;
}
// Load the markdown file based on the path
loadMarkdownFile(`${trimmedPath}.md`);
});
</script>
</body>
</html>