MVP
This commit is contained in:
parent
6938e212ba
commit
62f343ef90
40 changed files with 2171 additions and 149 deletions
19
layouts/projects/single.html
Normal file
19
layouts/projects/single.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ define "main" }}
|
||||
<article class="content">
|
||||
<div class="title">
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
<div class="card">
|
||||
{{ if .Params.image }}
|
||||
<div class="image">
|
||||
{{ partial "components/image.html" .Params.image }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="content">
|
||||
<h1>Project Overview</h1>
|
||||
<p>{{ .Params.overview }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
8
layouts/projects/summary.html
Normal file
8
layouts/projects/summary.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<article>
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ if .Params.overview }}
|
||||
{{ .Params.overview }}
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue