43 lines
2.4 KiB
HTML
43 lines
2.4 KiB
HTML
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="<%= seo.description %>">
|
|
<meta name="author" content="<%= data.name %>">
|
|
<meta name="robots" content="<%= preview ? 'noindex, nofollow' : 'index, follow, max-image-preview:large' %>">
|
|
<% if (seo.canonical) { %><link rel="canonical" href="<%= seo.canonical %>"><% } %>
|
|
<meta property="og:type" content="profile">
|
|
<meta property="og:title" content="<%= seo.title %>">
|
|
<meta property="og:description" content="<%= seo.description %>">
|
|
<meta property="og:site_name" content="<%= data.name %>">
|
|
<% if (seo.canonical) { %><meta property="og:url" content="<%= seo.canonical %>"><% } %>
|
|
<% if (seo.image) { %><meta property="og:image" content="<%= seo.image %>"><meta property="og:image:alt" content="<%= data.name %> portrait"><% } %>
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:title" content="<%= seo.title %>">
|
|
<meta name="twitter:description" content="<%= seo.description %>">
|
|
<% if (seo.image) { %><meta name="twitter:image" content="<%= seo.image %>"><% } %>
|
|
<link rel="alternate" type="text/plain" href="/llms.txt" title="Resume as text">
|
|
<script type="application/ld+json"><%- seo.schema %></script>
|
|
<meta name="theme-color" content="#0f172a">
|
|
<title><%= seo.title %></title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
<link href="/fa/font-awesome.css" rel="stylesheet" type="text/css">
|
|
<% const theme = data.theme || {}; %>
|
|
<style>
|
|
:root {
|
|
--bg: <%= theme.bg || '#0b1324' %>;
|
|
--bg-2: <%= theme.bg2 || '#0f172a' %>;
|
|
--card: <%= theme.card || 'rgba(255, 255, 255, 0.04)' %>;
|
|
--border: <%= theme.border || 'rgba(255, 255, 255, 0.08)' %>;
|
|
--text: <%= theme.text || '#e5e7eb' %>;
|
|
--muted: <%= theme.muted || '#cbd5e1' %>;
|
|
--accent: <%= theme.accent || '#38bdf8' %>;
|
|
--accent-2: <%= theme.accent2 || '#2dd4bf' %>;
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" href="/css/refined.css">
|
|
<link rel="stylesheet" href="/css/print.css" media="print" id="print-styles">
|
|
</head>
|