add projects page; move to hugo;
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
All checks were successful
Build and Push Docker Container / build-and-push (push) Successful in 1m59s
This commit is contained in:
26
hugo/eliaskohout.de/layouts/_default/single.html
Normal file
26
hugo/eliaskohout.de/layouts/_default/single.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{{ define "main" }}
|
||||
{{- partial "background.html" . -}}
|
||||
|
||||
<main class="page-content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
<p class="tags">
|
||||
{{ range .Params.tags }}
|
||||
<span class="tag">{{ . }}</span>
|
||||
{{ end }}
|
||||
</p>
|
||||
|
||||
<div class="project-links">
|
||||
{{ with .Params.code }}<a href="{{ . }}">[Code]</a>{{ end }}
|
||||
{{ with .Params.demo }}<a href="{{ . }}">[Live Demo]</a>{{ end }}
|
||||
</div>
|
||||
|
||||
<article class="project-body">
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
||||
<div class="back-link">
|
||||
<a href="/projects/">← all projects</a>
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user