Add slashes to links in <head.html>, <nav.html>, <footer.html> and
<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
This commit is contained in:
parent
c071a83fde
commit
6f520773f5
15 changed files with 89 additions and 93 deletions
|
|
@ -9,14 +9,17 @@
|
|||
|
||||
<div role="main" class="container main-content">
|
||||
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "header_wp.html" . }}
|
||||
|
||||
{{ if eq .Type "post" }}
|
||||
{{ partial "post.html" . }}
|
||||
{{ else if eq .Type "page" }}
|
||||
{{ partial "page.html" . }}
|
||||
{{ else }}
|
||||
NO MATCHING PARTIAL
|
||||
<div class="container" role="main">
|
||||
NO MATCHING PARTIAL
|
||||
{{.Content}}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue