diff options
Diffstat (limited to '')
-rw-r--r-- | _layouts/default.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index bd253c8..7240997 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,12 +1,25 @@ <!DOCTYPE html> -<html lang="{{ page.lang | default: "en" }}"> +<html lang="{{ page.lang }}"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/styles.css"> <link rel="alternate" type="application/atom+xml" href="{{ site.t.feed_url[page.lang] }}" title="{{ site.t.feed_title[page.lang] }}" /> - <!-- {%- seo -%} --> + + <title>{{ page.title }}</title> + <meta property="og:site_name" content="{{ site.title }}" /> + <meta name="author" content="{{ site.author.name }}" /> + <meta property="og:locale" content="{{ page.lang }}" /> + <meta property="og:title" content="{{ page.title }}" /> + + <link rel="canonical" href="{{ page.url | absolute_url }}" /> + <meta property="og:url" content="{{ page.url | absolute_url }}" /> + + {% if page.date %} + <meta property="og:type" content="article" /> + <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" /> + {% endif %} </head> <body> <header> |