This commit is contained in:
parent
2503386941
commit
7400d68fd3
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
title: "Статьи"
|
||||
description: "Список статей"
|
||||
---
|
||||
|
||||
|
|
|
@ -8,10 +8,9 @@
|
|||
{{ .Title }}
|
||||
</h1>
|
||||
</header>
|
||||
{{ partial "cover.html" . }}
|
||||
|
||||
<aside>
|
||||
{{ .TableOfContents }}
|
||||
</aside>
|
||||
|
||||
{{ .Content | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor">⌗</a> ${3}` | safeHTML }}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
{{- with partial "_funcs/get-page-images" . }}
|
||||
{{- range . | first 6 }}
|
||||
<meta property="og:image" content="{{ .Permalink }}">
|
||||
<meta property="og:image" content="{{ .Cover | absURL }}">
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue