Description главной страницы
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 21s

This commit is contained in:
MultiMote 2024-06-05 11:03:23 +03:00
parent 07ed5e4130
commit a00310ed8d
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ enableRobotsTXT = true
[params]
author = 'MultiMote'
description = 'Блог MultiMote'
[permalinks]
posts = "/:slugorfilename"

View File

@ -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}}