diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-01-10 12:10:28 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-01-10 12:10:28 -0500 |
| commit | 94ec008558ec992497c27d6d198441f4268bbfef (patch) | |
| tree | cf55e73c1e4f1d60b3663d64013a546eb27762db | |
| parent | 6bbe99fe46d3aeea9743d31f8050e10ccf80f7a7 (diff) | |
| download | samanthony.xyz-94ec008558ec992497c27d6d198441f4268bbfef.zip | |
publish
| -rw-r--r-- | Makefile | 11 | ||||
| -rw-r--r-- | content/_index.html | 2 | ||||
| -rw-r--r-- | content/articles/tools-i-use.md | 2 | ||||
| -rw-r--r-- | content/projects/index.md | 8 | ||||
| -rw-r--r-- | hugo.toml | 2 | ||||
| -rw-r--r-- | layouts/articles/page.html | 11 | ||||
| -rw-r--r-- | layouts/page.html | 8 |
7 files changed, 34 insertions, 10 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6f5875e --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +build: + hugo build + +publish: build + rsync -rz public/ samanthony.xyz:/var/www/htdocs/samanthony.xyz/ + +serve: + hugo serve -DEF + +clean: + rm -rf public diff --git a/content/_index.html b/content/_index.html index 5ed65a4..b02d589 100644 --- a/content/_index.html +++ b/content/_index.html @@ -56,7 +56,7 @@ draft: false </tr> <tr> <td>Phone</td> - <td>+1 (709) 746-7582</td> + <td>+1 (709) 746–7582</td> </tr> </tbody> </table> diff --git a/content/articles/tools-i-use.md b/content/articles/tools-i-use.md index 952d782..dd06d3f 100644 --- a/content/articles/tools-i-use.md +++ b/content/articles/tools-i-use.md @@ -2,7 +2,7 @@ title = 'Tools I Use' date = '2026-01-02T15:24:53-03:30' tags = [] -draft = true +draft = false +++ Here is a list of some of the tools I use day-to-day. diff --git a/content/projects/index.md b/content/projects/index.md new file mode 100644 index 0000000..f021a61 --- /dev/null +++ b/content/projects/index.md @@ -0,0 +1,8 @@ ++++ +title = 'Projects' +date = '2026-01-10T11:56:33-05:00' +tags = [] +draft = false ++++ + +Browse source code at [git.samanthony.xyz](https://git.samanthony.xyz/). @@ -21,5 +21,5 @@ theme = 'aoidh' [[menus.main]] name = 'Projects' - url = 'http://git.samanthony.xyz/' + pageRef = '/projects' weight = 3 diff --git a/layouts/articles/page.html b/layouts/articles/page.html new file mode 100644 index 0000000..8b8eb16 --- /dev/null +++ b/layouts/articles/page.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} + {{- $dateHuman := .Date | time.Format "2006-01-02" -}} + <div> + <h1 class="title">{{ .Title }}</h1> + <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> + </div> + + {{ .Content }} + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +{{ end }} diff --git a/layouts/page.html b/layouts/page.html index 8b8eb16..bac8b18 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -1,11 +1,5 @@ {{ define "main" }} - {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} - {{- $dateHuman := .Date | time.Format "2006-01-02" -}} - <div> - <h1 class="title">{{ .Title }}</h1> - <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - </div> - + <h1 class="title">{{ .Title }}</h1> {{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }} |