Spit and polish

master
Noah 2023-09-13 17:42:45 -07:00
parent 47689c1634
commit 43d1c1e6de
3 changed files with 8 additions and 2 deletions

View File

@ -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/

View File

@ -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

View File

@ -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 }}">