DOCS-1: Init document work
This commit is contained in:
34
templates/client_page.html
Normal file
34
templates/client_page.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{{template "head" .}}
|
||||
<title>{{.Page.Title}} — My Docs — Arcline</title>
|
||||
{{if .Page.Description}}<meta name="description" content="{{.Page.Description}}">{{end}}
|
||||
<meta name="robots" content="noindex">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{{template "nav" .}}
|
||||
|
||||
<main class="docs-main">
|
||||
<nav class="breadcrumb" aria-label="Breadcrumb">
|
||||
<a href="/">Docs</a>
|
||||
<span class="breadcrumb__sep">/</span>
|
||||
<a href="/client/">My Docs</a>
|
||||
<span class="breadcrumb__sep">/</span>
|
||||
<span>{{.Page.Title}}</span>
|
||||
</nav>
|
||||
|
||||
<article class="docs-article">
|
||||
{{if .IsAdmin}}
|
||||
<div style="margin-bottom:1.25rem;">
|
||||
<a href="/admin/pages/{{.Page.ID}}/edit" class="btn btn--ghost btn--sm">Edit this page</a>
|
||||
</div>
|
||||
{{end}}
|
||||
{{.Content}}
|
||||
</article>
|
||||
</main>
|
||||
|
||||
{{template "footer-simple" .}}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user