summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-10 12:10:28 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-10 12:10:28 -0500
commit94ec008558ec992497c27d6d198441f4268bbfef (patch)
treecf55e73c1e4f1d60b3663d64013a546eb27762db
parent6bbe99fe46d3aeea9743d31f8050e10ccf80f7a7 (diff)
downloadsamanthony.xyz-94ec008558ec992497c27d6d198441f4268bbfef.zip
publish
-rw-r--r--Makefile11
-rw-r--r--content/_index.html2
-rw-r--r--content/articles/tools-i-use.md2
-rw-r--r--content/projects/index.md8
-rw-r--r--hugo.toml2
-rw-r--r--layouts/articles/page.html11
-rw-r--r--layouts/page.html8
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&ndash;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/).
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" -}}
+ <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 }}