mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-21 00:52:44 +02:00
Initial commit.
This commit is contained in:
commit
b3a2e36507
50 changed files with 2152 additions and 0 deletions
layouts
23
layouts/index.html
Normal file
23
layouts/index.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ partial "math.html" . }}
|
||||
<body>
|
||||
|
||||
<article>
|
||||
{{ partial "brand.html" . }}
|
||||
|
||||
{{ range first 5 .Site.Pages }}
|
||||
<section class="post-summary">
|
||||
{{ partial "content.header.html" . }}
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .RelPermalink }}">Read On →</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "body.includes.html" . }}
|
||||
</article>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue