summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-06-26 13:49:46 -0230
committerSam Anthony <sam@samanthony.xyz>2026-06-26 13:49:46 -0230
commitbe60a99b427940d69da9613a63aa9f9e6367b658 (patch)
treecbb0bd518c4334bf44408639fcb009b9dae97b40
parent3134dbbadd01cfd3dfc201fcbc4fc8878fecbd95 (diff)
downloadsamanthony.xyz-be60a99b427940d69da9613a63aa9f9e6367b658.zip
home page: rewrite in md
-rw-r--r--assets/style.css1
-rw-r--r--content/_index.html100
-rw-r--r--content/_index.md39
-rw-r--r--content/projects/index.md8
-rw-r--r--hugo.toml3
-rw-r--r--layouts/home.html10
6 files changed, 58 insertions, 103 deletions
diff --git a/assets/style.css b/assets/style.css
index da77912..ca0ebaf 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -136,6 +136,7 @@ cite {
img {
box-sizing: border-box;
+ width: 16rem;
max-width: 100%;
max-height: 90vh;
border: 1px solid var(--dark-gray);
diff --git a/content/_index.html b/content/_index.html
deleted file mode 100644
index 222b7ce..0000000
--- a/content/_index.html
+++ /dev/null
@@ -1,100 +0,0 @@
----
-title: ""
-date: 2025-12-23T17:12:55-03:30
-draft: false
----
-
-<blockquote>
- <code>
- /* _nop() has been deprecated; use __nop() */<br>
- #define _nop() __nop()
- </code>
- <cite>&mdash;excerpt from <a href="https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc8"><span class="mono">pic.h</span></a></cite>
-</blockquote>
-
-<h1 id="about">About</h1>
-<table>
- <thead>
- <tr>
- <th>Personal information</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Name</td>
- <td>Sam Anthony</td>
- </tr>
- <tr>
- <td>Occupation</td>
- <td>Computer programmer</td>
- </tr>
- <tr>
- <td>Education</td>
- <td>
- BCompSc,
- <a href="https://www.concordia.ca/">Concordia University</a>.<br>
- All credits obtained; graduating June 2026.
- </td>
- </tr>
- <tr>
- <td>Previous employers</td>
- <td>
- <a href="https://c-core.ca/">C-CORE</a>
- <br>
- <a href="https://wheeltec.ca/">WheelTec</a>
- </td>
- </tr>
- </tbody>
-</table>
-<table>
- <thead>
- <tr>
- <th>Contact</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Email</td>
- <td><a href="mailto:sam@samanthony.xyz">sam@samanthony.xyz</a></td>
- </tr>
- <tr>
- <td>Phone</td>
- <td>+1 (709) 746&ndash;7582</td>
- </tr>
- <tr>
- <td>GitHub</td>
- <td><a href="https://github.com/sam-rba">sam-rba</a></td>
- </tr>
- <tr>
- <td>LinkedIn</td>
- <td><a href="https://www.linkedin.com/in/sam-anthony-4746252b5">sam-anthony-4746252b5</a></td>
- </tr>
- </tbody>
-</table>
-<h1 id="design-philosophy">Design philosophy</h1>
-<table>
- <tr><td><a href="https://www.cs.princeton.edu/~bwk/tpop.webpage/">Simplicity, clarity, generality.</a></td></tr>
- <tr><td><a href="https://suckless.org/philosophy/">Frugality</a>. <a href="https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html">Less is more</a>.</td></tr>
- <tr><td><a href="https://archive.org/details/MythicalManMonth/page/n53/mode/2up">Consistency, coherence, conceptual integrity.</a></td></tr>
- <tr><td><a href="https://usgraphics.com/">Timelessness. Ignore design trends.</a></td></tr>
- <tr><td>Transparency. Don't hide the innards; make them beautiful.</td></tr>
- <tr><td>Respect the user, don't infantilize them.</td></tr>
- <tr><td>Readability. Code is documentation (but not a substitute for it).</td></tr>
- <tr><td><a href="https://archive.org/details/MythicalManMonth/page/n153/mode/2up">Design top-down, build and test bottom-up.</a></td></tr>
- <tr><td>Reliability. Consummate design and rigorous testing.</td></tr>
- <tr><td>Performance and <a href="https://archive.org/details/MythicalManMonth/page/n109/mode/2up">minimal memory footprint</a>.</td></tr>
- <tr><td>Maintainability. Programs outlive people and computers.</td></tr>
- <tr><td>Incremental development. Software is <a href="https://www.cs.dartmouth.edu/~cs50/Reading/NoSilverBullet.pdf">grown</a>, not built.</td></tr>
-</table>
-<h1 id="biography">Biography</h1>
-<img style="width: 16rem;" src="img/headshot.jpg" alt="Headshot of Sam Anthony">
-<p>
- I'm a computer programmer from Newfoundland, Canada.
- I was born in 2004.
-</p>
-<blockquote>
- To state my life .plan in a single sentence: &ldquo;I want to write the best software I can.&rdquo; There isn't even a close second place.
- <cite>&mdash;John Carmack, <a href="https://raw.githubusercontent.com/ESWAT/john-carmack-plan-archive/refs/heads/master/by_day/johnc_plan_19970707.txt">1997</a></cite>
-</blockquote>
diff --git a/content/_index.md b/content/_index.md
new file mode 100644
index 0000000..3dba320
--- /dev/null
+++ b/content/_index.md
@@ -0,0 +1,39 @@
+---
+title: ""
+date: 2025-12-23T17:12:55-03:30
+draft: false
+---
+
+
+# About
+
+| Personal information | |
+| --- | --- |
+| Name | Sam Anthony |
+| Occupation | Computer programmer |
+| Location | Newfoundland, Canada |
+| Education | Bachelor of computer science, [Concordia University](https://www.concordia.ca/), 2026 |
+| Previous employers | [C-CORE](https://c-core.ca/)<br>[WheelTec](https://wheeltec.ca/) |
+
+![Headshot](img/headshot.jpg)
+
+| Contact | |
+| --- | --- |
+| Email | [sam@samanthony.xyz](mailto:sam@samanthony.xyz) |
+| Phone | +1 (709) 746 7582 |
+| LinkedIn | [sam-anthony-4746252b5](https://www.linkedin.com/in/sam-anthony-4746252b5) |
+
+| Design philosophy | |
+| --- | --- |
+|[Simplicity, clarity, generality.](https://www.cs.princeton.edu/~bwk/tpop.webpage/)|
+|[Frugality](https://suckless.org/philosophy/). [Less is more](https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html).|
+|[Consistency, coherence, conceptual integrity.](https://archive.org/details/MythicalManMonth/page/n53/mode/2up)|
+|[Timelessness. Ignore design trends.](https://usgraphics.com/)|
+|Transparency. Don't hide the innards; make them beautiful.|
+|Respect the user, don't infantilize them.|
+|Readability. Code is documentation (but not a substitute for it).|
+|[Design top-down, build and test bottom-up.](https://archive.org/details/MythicalManMonth/page/n153/mode/2up)|
+|Reliability. Consummate design and rigorous testing.|
+|Performance and [minimal memory footprint](https://archive.org/details/MythicalManMonth/page/n109/mode/2up).|
+|Maintainability. Programs outlive people and computers.|
+|Incremental development. Software is [grown](https://www.cs.dartmouth.edu/~cs50/Reading/NoSilverBullet.pdf), not built.|
diff --git a/content/projects/index.md b/content/projects/index.md
index 2d072f9..bdb80da 100644
--- a/content/projects/index.md
+++ b/content/projects/index.md
@@ -5,6 +5,8 @@ tags = []
draft = false
+++
-Browse source code at [git.samanthony.xyz](https://git.samanthony.xyz/).
-
-Mirrored at [github.com/sam-rba](https://github.com/sam-rba/).
+| Source code repositories | |
+| --- | --- |
+| Self-hosted | [git.samanthony.xyz/](https://git.samanthony.xyz/) |
+| Sourcehut | [sr.ht/~sma/](https://sr.ht/~sma/) |
+| Github | [github.com/sam-rba/](https://github.com/sam-rba/) |
diff --git a/hugo.toml b/hugo.toml
index 1e7a984..2ae7654 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -4,6 +4,9 @@ title = 'Sam Anthony'
enableGitInfo = true
relativeURLs = true
+[markup.goldmark.renderer]
+unsafe = true
+
[params]
[params.author]
name = 'Sam Anthony'
diff --git a/layouts/home.html b/layouts/home.html
index 9983b08..d89db84 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -1,3 +1,13 @@
{{ define "main" }}
+
+<blockquote>
+ <code>
+ /* _nop() has been deprecated; use __nop() */<br>
+ #define _nop() __nop()
+ </code>
+ <cite>—<a href="https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc8"><span class="mono">pic.h</span></a></cite>
+</blockquote>
+
{{ .Content }}
+
{{ end }}