mirror of
https://github.com/Clortox/tylerperkins.xyz.git
synced 2026-03-07 10:37:58 +00:00
Implement base proof of concept site
This commit is contained in:
0
themes/clortox/layouts/404.html
Normal file
0
themes/clortox/layouts/404.html
Normal file
11
themes/clortox/layouts/_default/baseof.html
Normal file
11
themes/clortox/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
8
themes/clortox/layouts/_default/list.html
Normal file
8
themes/clortox/layouts/_default/list.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Pages }}
|
||||
<article>
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
8
themes/clortox/layouts/_default/single.html
Normal file
8
themes/clortox/layouts/_default/single.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
0
themes/clortox/layouts/index.html
Normal file
0
themes/clortox/layouts/index.html
Normal file
5
themes/clortox/layouts/partials/footer.html
Normal file
5
themes/clortox/layouts/partials/footer.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<footer>
|
||||
<p>
|
||||
<small>Copyright © {{ now.Year }}. All rights Reserved</small>
|
||||
</p>
|
||||
</footer>
|
||||
0
themes/clortox/layouts/partials/head.html
Normal file
0
themes/clortox/layouts/partials/head.html
Normal file
4
themes/clortox/layouts/partials/header.html
Normal file
4
themes/clortox/layouts/partials/header.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<header>
|
||||
<a href="{{ "/" | relURL }}">Home</a>
|
||||
<a href="{{ "/about/" | relURL }}">About</a>
|
||||
</header>
|
||||
Reference in New Issue
Block a user