mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-30 00:20:43 +00:00
Add partials
This commit is contained in:
parent
16103599b3
commit
9f753226f6
6 changed files with 52 additions and 11 deletions
5
layouts/partials/summary.html
Normal file
5
layouts/partials/summary.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ if .Content }}
|
||||
{{ .Summary | chomp }}{{ if .Truncated }}…{{ end }}
|
||||
{{ else if .Params.subtitle }}
|
||||
{{ .Params.subtitle | markdownify | emojify }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue