Add basic layout
This commit is contained in:
parent
4a087959fc
commit
110765ecc7
8 changed files with 120 additions and 3 deletions
10
layouts/partials/head.html
Normal file
10
layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>
|
||||
{{ if .IsHome }}
|
||||
{{ site.Title }}
|
||||
{{ else }}
|
||||
{{ printf "%s | %s" .Title site.Title }}
|
||||
{{ end }}
|
||||
</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue