File tree Expand file tree Collapse file tree 6 files changed +20
-2
lines changed
Expand file tree Collapse file tree 6 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 8585 margin-right : 1.25rem ;
8686}
8787
88+ .post-please-comment {
89+ display : none;
90+ }
91+
8892.read-more {
8993 font-style : italic;
9094}
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+ {{ partial "posts/list.html" . }}
3+ {{ end }}
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+ {{ partial "posts/post.html" . }}
3+ {{ end }}
Original file line number Diff line number Diff line change 1+ {{- if .Params.Author -}}
2+ {{- errorf "Page %q uses deprecated 'author' field. Please use 'authors' instead." .File.Path -}}
3+ {{- end -}}
14< div class ="post-meta ">
25< span class ="post-authors ">
3- {{- range .Params.author -}}
6+ {{- range .Params.Authors -}}
47 {{ $author := trim (index (findRE `[^< ]*` . 1) 0) "\n\r " }}
58 {{ $handle := index (index (findRESubmatch `< (.*?)> ` . 1) 0) 1 }}
69 < div class ="post-author ">
Original file line number Diff line number Diff line change 11{{- $featuredImage := .Resources.GetMatch "featuredImage" -}}
22< section class ="post content-padding ">
33 {{ with partial "_decorators/content-container.html" . }}
4- < div class ="post-meta "> {{ partial "posts/meta.html" . }}</ div >
4+ < div class ="post-meta "> {{ partial "posts/meta.html" . }}
5+ < span class ="post-please-comment "> 🖊️ Please add your comments < a href ="#discourse-comments "> below!</ a > </ span >
6+ </ div >
57 < div class ="post-content ">
68 {{ with $featuredImage }}
79 {{ if .Params.showOnTop }}
Original file line number Diff line number Diff line change 44 {{ .Content }}
55 {{ else }}
66 {{ range .Pages }}
7+ {{- if .Params.Author -}}
8+ {{- errorf "Page %q uses deprecated 'author' field. Please use 'authors' instead." .File.Path -}}
9+ {{- end -}}
710 < div class ="post-list ">
811 < article >
912 < div class ="post-title "> < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a > </ div >
You can’t perform that action at this time.
0 commit comments