Description главной страницы

This commit is contained in:
MultiMote 2024-06-05 11:03:23 +03:00
parent 3e8c0624bd
commit 169459db30
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ enableRobotsTXT = true
[params] [params]
author = 'MultiMote' author = 'MultiMote'
description = 'Блог MultiMote'
[permalinks] [permalinks]
posts = "/:slugorfilename" 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" }} {{ 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}}