Welcome to mirror list, hosted at ThFree Co, Russian Federation.

summary.html « blog « layouts - github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 305d8438957b9725c564bfd15d3e2870c716984d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<header>
  <h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
       {{- if isset .Params "author" -}}
         <h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2>
       {{- else -}}
         <h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2>
       {{- end -}}

</header>
{{ if isset .Params "description" }}
  {{ if ne .Params.descripton "" }}
    {{ .Params.description | markdownify }}
  {{ end }}
{{ else }}
  {{ .Summary }}
{{ end }}
<footer>
  <a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
</footer>
<br>