Merge branch 'master' into fix-post-avatar

This commit is contained in:
alex bezek 2020-10-24 15:21:34 -04:00 committed by GitHub
commit 59d09e0ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 8 deletions

View file

@ -1,8 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{- site.Title -}}</title>
<meta name="description" content="{{ site.Params.description }}" />
<title>{{- .Site.Title -}}</title>
{{ $siteDescription := .Site.Params.description }}
{{ if (index .Site.Data .Site.Language.Lang).site }}
{{ $siteConfig := (index .Site.Data .Site.Language.Lang).site }}
{{ if $siteConfig.description }}
{{ $siteDescription = $siteConfig.description }}
{{ end }}
{{ end }}
<meta name="description" content="{{ $siteDescription }}" />
<!-- import common headers -->
{{- partial "header.html" . -}}