diff --git a/_includes/head.pug b/_includes/head.pug index b3b0a1d..4dcf588 100644 --- a/_includes/head.pug +++ b/_includes/head.pug @@ -1,7 +1,31 @@ //- Meta meta(charset='UTF-8') meta(name='viewport', content='width=device-width, initial-scale=1.0') -title= title ? title : "Vlad Faust" + + +title= title ? (titleNoAppend ? title : (title + " | Vlad Faust Blog")) : "Vlad Faust Blog" +meta(name='description', content=description || excerpt) +meta(name='robots' content="index,follow") +meta(name='generator' content='Eleventy') + + +meta(name='twitter:card', content='summary') +meta(name='twitter:site', content='@vladfaust') +meta(name='twitter:creator', content='@vladfaust') +meta(name='twitter:url', content='https://vladfaust.com' + page.url) +meta(name='twitter:title', content=title) +meta(name='twitter:description', content=description || excerpt) +meta(name='twitter:image', content=twitterCover || cover) + + +meta(property='og:url', content='https://vladfaust.com' + page.url) +meta(property='og:type', content=ogType || 'website') +meta(property='og:title', content=title) +meta(property='og:image', content=ogCover || cover) +meta(property='og:description', content=description || excerpt) +meta(property='og:site_name', content=title) +meta(property='og:locale', content='en_GB') +meta(property='article:author', content='https://vladfaust.com') //- Icons link(rel='icon', href='/public/icon/cap.svg', sizes='any', type='image/svg+xml') diff --git a/index.pug b/index.pug index 3ae35c6..e9e6231 100644 --- a/index.pug +++ b/index.pug @@ -3,6 +3,10 @@ eleventyExcludeFromCollections: true pagination: data: collections.all size: 2 +title: "Vlad Faust Blog" +titleNoAppend: true +description: "Vlad Faust's personal blog" +cover: /public/img/me.jpg --- doctype html diff --git a/posts/2020-08-07-hello-world.md b/posts/2020-08-07-hello-world.md index b0a31c5..904985c 100644 --- a/posts/2020-08-07-hello-world.md +++ b/posts/2020-08-07-hello-world.md @@ -1,6 +1,8 @@ --- title: Hello, World! location: Moscow, Russia +excerpt: How many years of programming experience is needed to be qualified to start a tech blog? Time for an introductory post! +cover: /public/img/me.jpg --- How many years of programming experience is needed to be qualified to start a tech blog? @@ -9,8 +11,6 @@ I see much blogging even with [zero](https://dev.to/), so I decided to give it a Time for an introductory post! - - ## I I is Vlad Faust. diff --git a/posts/2020-08-16-system-programming-in-2k20.md b/posts/2020-08-16-system-programming-in-2k20.md index ccbf8ab..14f6018 100644 --- a/posts/2020-08-16-system-programming-in-2k20.md +++ b/posts/2020-08-16-system-programming-in-2k20.md @@ -1,13 +1,14 @@ --- title: System Programming in 2k20 location: Moscow, Russia +excerpt: System programming seems to be much harder than application programming. Why is that and how to overcome this? +cover: /public/img/posts/2020-08-16-system-programming-in-2k20/rust-is-simple-3.jpg +ogType: article --- System programming is still essential, but it seems to be much harder than application programming. Why is that and how to overcome this -- these are the questions I'll try to find answers for in this article. - -