Description главной страницы
This commit is contained in:
parent
3e8c0624bd
commit
169459db30
@ -7,6 +7,7 @@ enableRobotsTXT = true
|
||||
|
||||
[params]
|
||||
author = 'MultiMote'
|
||||
description = 'Блог MultiMote'
|
||||
|
||||
[permalinks]
|
||||
posts = "/:slugorfilename"
|
||||
|
@ -1,3 +1,8 @@
|
||||
{{ define "head_meta" }}
|
||||
<meta name="description" content="{{ site.Params.description }}">
|
||||
<meta property="og:description" content="{{ site.Params.description }}">
|
||||
{{end}}
|
||||
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="page-wrapper">
|
||||
@ -13,7 +18,7 @@
|
||||
{{- $thumb := .Page.Resources.Get .Params.featured_image -}}
|
||||
{{if $thumb}}
|
||||
<a href="{{.RelPermalink}}">
|
||||
<img class="thumb" src="{{ ($thumb.Fit "150x150").RelPermalink }}">
|
||||
<img class="thumb" src="{{ ($thumb.Fit "150x150").RelPermalink }}" alt="thumb">
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user