Convert single page into hugo template
This commit is contained in:
parent
e7540fe5a9
commit
6106bb0fb3
21 changed files with 400 additions and 2310 deletions
|
@ -1,11 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>List</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>This is list page....</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ define "header" }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true) }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "content" }}
|
||||
<h1>Here is the actual content</h1>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="/assets/js/list.js"></script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue