This commit is contained in:
30
layouts/_default/single.html
Normal file
30
layouts/_default/single.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{{ define "main" }}
|
||||
<article class="section project-single">
|
||||
<p class="eyebrow">Project</p>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Description }}
|
||||
<p class="lead">{{ . }}</p>
|
||||
{{ end }}
|
||||
|
||||
<div class="project-links">
|
||||
{{ with .Params.project_url }}
|
||||
<a class="button button-primary" href="{{ . }}">Live Project</a>
|
||||
{{ end }}
|
||||
{{ with .Params.repo_url }}
|
||||
<a class="button button-secondary" href="{{ . }}">Source Code</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ with .Params.tags }}
|
||||
<ul class="tag-list tag-list-spaced">
|
||||
{{ range . }}
|
||||
<li>{{ . }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
<div class="content-body">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user