~aasg/haunted-blog

faaf408269b8101ace41c0657ea72afdad18b707 — Aluísio Augusto Silva Gonçalves 8 months ago cad039e
Add an h-card to the home page
4 files changed, 50 insertions(+), 26 deletions(-)

M .editorconfig
M haunt.scm
A pages/_index.html
D posts/_index.md
M .editorconfig => .editorconfig +3 -0
@@ 8,3 8,6 @@ trim_trailing_whitespace = true
[*.{css,scm,yml}]
indent_style = space
indent_size = 2

[*.html]
indent_style = tab

M haunt.scm => haunt.scm +3 -2
@@ 177,7 177,7 @@
  (define (post-uri post)
    (string-append (or prefix "") (site-post-slug site post) ".html"))
  (define %preamble
    (post-sxml (read-post extended-markdown-reader "posts/_index.md")))
    (post-sxml (read-post html-reader "pages/_index.html")))
  `(,%preamble
     (h2 "Recent posts")
     ,(map (lambda (post)


@@ 278,7 278,8 @@
(site #:title "aasg's most experimental weblog"
      #:domain "aasg.name"
      #:default-metadata
      '((author . "Aluísio Augusto Silva Gonçalves"))
      '((author . "Aluísio Augusto Silva Gonçalves")
        (author-profile . "https://aasg.name"))
      #:file-filter (lambda (filename) (not (aasg-file-fragment? filename)))
      #:readers (list extended-markdown-reader)
      #:builders (list (blog #:theme aasg-post-theme

A pages/_index.html => pages/_index.html +44 -0
@@ 0,0 1,44 @@
---
<article class="h-card">
	<h1>aasg's most experimental weblog</h1>
	<p class="p-note">
		I'm <span class="p-name"><span class="p-given-name">Aluísio</span> <span class="p-additional-name">Augusto</span> <span class="p-family-name">Silva Gonçalves</span></span>, a software developer by trade, FOSS contributor, and package maintainer for <a class="p-category h-card" href="https://nixos.org">NixOS</a>/<a class="p-category h-card" href="https://github.com/NixOS/nixpkgs">Nixpkgs</a> and <a class="p-category h-card" href="https://voidlinux.org">Void Linux</a>.
		My main areas of academic interest are <span class="p-category">digital preservation</span> and <span class="p-category">semantic search</span>, with experience in system administration and website development for digital libraries.
	</p>

	<section id="contact">
		<h2>Contact</h2>
		<p>You can reach me through the following channels:</p>
		<ul>
			<li>
				via email: <a class="u-email" href="mailto:aluisio@aasg.name">aluisio@aasg.name</a>
				<ul>
					<li>
						you can encrypt your message to
						<a class="u-key" href="files/pgpkey.asc">
							<code>7FDB 17B3 C29B 5BA6 E5A9 8BB2 9FAA 63E0 9750 6D9D</code>
						</a>
					</li>
				</ul>
			</li>
			<li>
				via Matrix:
				<a class="u-impp" href="matrix:user/aasg:aasg.name" data-fallback-url="https://matrix.to/#/@aasg:aasg.name">@aasg:aasg.name</a>
			</li>
		</ul>
		<p>
			Questions about my projects should be sent to
			<a href="https://lists.sr.ht/~aasg/public-inbox/">my public inbox</a> by
			emailing
			<a href="mailto:~aasg/public-inbox@lists.sr.ht">~aasg/public-inbox@lists.sr.ht</a>.
		</p>
	</section>
	<script defer="defer">
		// This exists to let bots and tools have the native MSC2312 Matrix
		// URI, but replace it with something more generally supported in
		// browsers.
		for (const el of document.querySelectorAll('a[data-fallback-url]')) {
			el.href = el.dataset.fallbackUrl
		}
	</script>
</article>

D posts/_index.md => posts/_index.md +0 -24
@@ 1,24 0,0 @@
---
# aasg's most experimental weblog

I'm Aluísio Augusto Silva Gonçalves, a software developer by trade, FOSS contributor, and package maintainer for [Nixpkgs] and [Void Linux].
My main areas of academic interest are digital preservation and semantic search, with experience in system administration and website development for digital libraries.

## {.firstborn}

## Contact

You can reach me through the following channels:
- via email: [aluisio@aasg.name]
  - you can encrypt your message to [`7FDB 17B3 C29B 5BA6 E5A9  8BB2 9FAA 63E0 9750 6D9D`][pgp key]
- via Matrix: [@aasg:aasg.name]

Questions about my projects should be sent to [my public inbox] by emailing [~aasg/public-inbox@lists.sr.ht].

[@aasg:aasg.name]: https://matrix.to/#/@aasg:aasg.name
[~aasg/public-inbox@lists.sr.ht]: mailto:~aasg/public-inbox@lists.sr.ht
[aluisio@aasg.name]: mailto:aluisio@aasg.name
[my public inbox]: https://lists.sr.ht/~aasg/public-inbox/
[nixpkgs]: https://nixos.org
[pgp key]: files/pgpkey.asc
[void linux]: https://voidlinux.org