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