FEAT: Using hugo
This commit is contained in:
24
layouts/index.html
Normal file
24
layouts/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!doctype html>
|
||||
<html lang="{{- site.Language.Lang -}}">
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="page">
|
||||
<header class="page__header">{{- partial "header.html" . -}}</header>
|
||||
|
||||
<section class="page__body">{{ .Content }}</section>
|
||||
|
||||
<section class="page__aside">
|
||||
<div class="aside__about">{{- partial "about.html" . -}}</div>
|
||||
<hr />
|
||||
<div class="aside__content">
|
||||
{{- block "aside" . }}{{- end }}{{partial "allTags.html" . -}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="page__footer">{{- partial "footer.html" . -}}</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user