Skip to content

Commit c3d9f26

Browse files
MaxDatenclaude
andcommitted
feat: add SEO description and Open Graph meta tags
- Add meta description for search engines - Add og:title, og:type, og:description for social sharing - Add og:image when profile picture is available 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1fe3a13 commit c3d9f26

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/templates/template.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@
77
<meta name="generator" content="pandoc" />
88
$for(author-meta)$
99
<meta name="author" content="$author-meta$" />
10-
$endfor$ $if(date-meta)$
10+
$endfor$
11+
$if(date-meta)$
1112
<meta name="date" content="$date-meta$" />
1213
$endif$
14+
<meta name="description" content="$if(subtitle)$$subtitle$ - $endif$Curriculum Vitae of $pagetitle$" />
15+
<meta property="og:title" content="$pagetitle$$if(subtitle)$ - $subtitle$$endif$" />
16+
<meta property="og:type" content="profile" />
17+
<meta property="og:description" content="$if(subtitle)$$subtitle$ - $endif$Curriculum Vitae" />
18+
$if(profile-picture)$
19+
<meta property="og:image" content="$profile-picture$" />
20+
$endif$
1321
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
1422
<style type="text/css">
1523
code {

0 commit comments

Comments
 (0)