mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
docs css
This commit is contained in:
parent
dcdde20b7c
commit
ae72d8b0f5
15 changed files with 118 additions and 75 deletions
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
|
||||
{{ range.Pages }}
|
||||
<div class="content">{{.Content}}</div>
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
|
@ -1,7 +1,7 @@
|
|||
<div class="summary">
|
||||
<div class="summary mb-2">
|
||||
{{ if .Params.image }}
|
||||
<img alt="{{ .Title }}" src="{{ .Params.image }}" />
|
||||
{{ end}}
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
{{ .Content | truncate 100 }}
|
||||
<h2 class="title-summary"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<p>{{ .Content | plainify | truncate 140 }}</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue