From 94ec008558ec992497c27d6d198441f4268bbfef Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 10 Jan 2026 12:10:28 -0500 Subject: publish --- Makefile | 11 +++++++++++ content/_index.html | 2 +- content/articles/tools-i-use.md | 2 +- content/projects/index.md | 8 ++++++++ hugo.toml | 2 +- layouts/articles/page.html | 11 +++++++++++ layouts/page.html | 8 +------- 7 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 Makefile create mode 100644 content/projects/index.md create mode 100644 layouts/articles/page.html 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 Phone - +1 (709) 746-7582 + +1 (709) 746–7582 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/). diff --git a/hugo.toml b/hugo.toml index 26150a4..2461d25 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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" -}} +
+

{{ .Title }}

+ +
+ + {{ .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" -}} -
-

{{ .Title }}

- -
- +

{{ .Title }}

{{ .Content }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{ end }} -- cgit v1.2.3