diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index cd893d4..6c13084 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,9 +6,21 @@ <meta charset="UTF-8" /> <meta author="Mateja Maric" /> - <!--<meta name="description"--> - <!--content="I am Mateja Maric and this is my personal web site. I am a student from Belgrade, Serbia. I am primarily interested in Unix-like operating systems and free(as in freedom) software.">--> - <!--<meta name="keywords" content="mateja, maric, homepage, site, blog, contact">--> + {{ if .Description }} + <meta name="description" content="{{ .Description }}"> + {{ end }} + + {{ if .Keywords }} + <meta name="keywords" content="{{ .Keywords }}"> + {{ end }} + + {{ if .PublishDate }} + <meta property="article:published_time" content="{{ .PublishDate }}" /> + {{ end }} + + {{ if .Lastmod }} + <meta property="article:modified_time" content="{{ .Lastmod }}" /> + {{ end }} <link rel="canonical" href="{{ .Permalink }}" /> <meta name="viewport" content="width=device-width initial-scale=1.0" /> |