From be60a99b427940d69da9613a63aa9f9e6367b658 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 26 Jun 2026 13:49:46 -0230 Subject: home page: rewrite in md --- assets/style.css | 1 + content/_index.html | 100 ---------------------------------------------- content/_index.md | 39 ++++++++++++++++++ content/projects/index.md | 8 ++-- hugo.toml | 3 ++ layouts/home.html | 10 +++++ 6 files changed, 58 insertions(+), 103 deletions(-) delete mode 100644 content/_index.html create mode 100644 content/_index.md 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 ---- - -
- - /* _nop() has been deprecated; use __nop() */
- #define _nop() __nop() -
- —excerpt from pic.h -
- -

About

- - - - - - - - - - - - - - - - - - - - - - - - - -
Personal information
NameSam Anthony
OccupationComputer programmer
Education - BCompSc, - Concordia University.
- All credits obtained; graduating June 2026. -
Previous employers - C-CORE -
- WheelTec -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Contact
Emailsam@samanthony.xyz
Phone+1 (709) 746–7582
GitHubsam-rba
LinkedInsam-anthony-4746252b5
-

Design philosophy

- - - - - - - - - - - - - -
Simplicity, clarity, generality.
Frugality. Less is more.
Consistency, coherence, conceptual integrity.
Timelessness. Ignore design trends.
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.
Reliability. Consummate design and rigorous testing.
Performance and minimal memory footprint.
Maintainability. Programs outlive people and computers.
Incremental development. Software is grown, not built.
-

Biography

-Headshot of Sam Anthony -

- I'm a computer programmer from Newfoundland, Canada. - I was born in 2004. -

-
- To state my life .plan in a single sentence: “I want to write the best software I can.” There isn't even a close second place. - —John Carmack, 1997 -
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/)
[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" }} + +
+ + /* _nop() has been deprecated; use __nop() */
+ #define _nop() __nop() +
+ pic.h +
+ {{ .Content }} + {{ end }} -- cgit v1.2.3