Spit and polish
This commit is contained in:
parent
47689c1634
commit
43d1c1e6de
4
Makefile
4
Makefile
|
@ -11,3 +11,7 @@ watch:
|
|||
@PHONY: clean
|
||||
clean:
|
||||
rm -rf public
|
||||
|
||||
@PHONY: deploy
|
||||
deploy: build
|
||||
rsync -av --delete-after public/ kirsle@kirsle.net:sites/noah.is/
|
||||
|
|
|
@ -4,6 +4,7 @@ Just a simple Hugo website.
|
|||
|
||||
* `make build` to build it
|
||||
* `make watch` to run it locally
|
||||
* `make deploy` to deploy it over SSH to my server
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<head>
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
{{- $title := print .Title " | " .Site.Title -}}
|
||||
{{- if .IsHome -}}{{- $title = .Site.Title -}}{{- end -}}
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
|
Loading…
Reference in New Issue
Block a user