Page summary view template
This commit is contained in:
parent
bc73df76cf
commit
11a677476b
2 changed files with 21 additions and 6 deletions
14
layouts/_default/page_summary.html
Normal file
14
layouts/_default/page_summary.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<article class="page-summary">
|
||||
<header>
|
||||
<h2 class="page-summary__title">{{ .Title }}</h2>
|
||||
{{ with .Params.subtitle | default .Description | markdownify }}
|
||||
<p class="page-summary__subtitle">{{ . }}</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="page-summary__content">
|
||||
{{ .Summary }}
|
||||
</div>
|
||||
<footer class="page-summary__footer">
|
||||
<a href="{{ .RelPermalink }}">More →</a>
|
||||
</footer>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue