Add social meta tags
This commit is contained in:
parent
3e81397fe1
commit
8899990c09
6
Makefile
6
Makefile
@ -10,7 +10,11 @@ build-site:
|
||||
build: build-site build-assets
|
||||
|
||||
build-prod:
|
||||
./tools/sculpin generate --clean --env=prod --no-interaction
|
||||
./tools/sculpin generate \
|
||||
--clean \
|
||||
--env=prod \
|
||||
--url="https://vakhrushev.me" \
|
||||
--no-interaction
|
||||
./tools/npm run build-prod
|
||||
|
||||
format:
|
||||
|
@ -17,3 +17,10 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="yandex-verification" content="eb6443fccb57d7d2" />
|
||||
<link href="https://fonts.googleapis.com/css?family=PT+Serif:400,700&subset=cyrillic" rel="stylesheet">
|
||||
|
||||
{# Social #}
|
||||
<meta property="og:site_name" content="AntonVakhrushev">
|
||||
<meta property="og:title" content="{{ page.title ?? site.title }}">
|
||||
<meta property="og:description" content="{{ page.description ?? site.description ?? '' }}">
|
||||
<meta property="og:url" content="{{ site.url | trim('/', side='right') }}{{ page.url != '/.' ? page.url : '' }}">
|
||||
<meta property="og:locale" content="ru_RU">
|
||||
|
Loading…
Reference in New Issue
Block a user