<404.html>. Add favicon example. Modify footer vars to allow links not pointing to user profiles. <header.html> renamed to <header_wp.html> and part of it moved to <header.html> since the same block was repeated two times. Add Hugo version to footer
30 lines
554 B
HTML
30 lines
554 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
|
|
{{ partial "nav.html" . }}
|
|
|
|
<div role="main" class="container main-content">
|
|
|
|
{{ partial "header_wp.html" . }}
|
|
|
|
{{ if eq .Type "post" }}
|
|
{{ partial "post.html" . }}
|
|
{{ else if eq .Type "page" }}
|
|
{{ partial "page.html" . }}
|
|
{{ else }}
|
|
<div class="container" role="main">
|
|
NO MATCHING PARTIAL
|
|
{{.Content}}
|
|
</div>
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
</html>
|