---
title: Home
layout: base.njk
---

<main class="home stack-2xl">
	<section class="stack-md row h-card">
    <h1><a href="https://{{ metadata.site.domain }}" rel="me" class="u-url">Hi, I'm <span class="p-given-name">Lewis</span></a></h1>
		<p class="inline-block max-w-[45ch] p-note">
			I'm a software engineer who loves building things for the web. I consider myself a generalist, but on a given day I'll probably be working with Typescript, HTML and CSS, and on occasion a touch of .NET. I work for <a href="https://triptease.com" target="_blank" rel="noopener noreferrer" class="p-org">Triptease</a> as a Senior Software Engineer, and on the side I'm learning Rust by building a <a href="/post/creating-a-sinclair-basic-interpreter/">Sinclair BASIC Interpreter</a>.
		</p>
		{% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}
	
    <p class="p-note">
			When I'm not working I love cycling, reading fiction (mostly sci-fi and ghost stories), and spending time with my family &amp; our border collie. 
		</p>
		<p class="p-note">
			You can find also find me on <a href="https://social.lol/@lewis" rel="me noopener noreferrer" target="_blank">the Fediverse</a>, follow my reading on <a href="https://bookrastinating.com/user/lewisdaleuk" target="_blank" rel="me noopener noreferrer">Bookwyrm</a>, or subscribe to my <a href="/feed/">RSS feed</a>.
		</p>

	</section>
	<div class="grid" data-grid-cols="2">
		<section class="stack-md">
			<h2>Recent Posts</h2>

			<ul class="stack-2xs" role='list'>
			{% for post in collections.posts | reverse | take(3) %}
			<li><a href="{{ post.url }}">{{ post.data.title | safe }}</a> <time datetime="{{ post.date | dateToRfc3339 }}">{{ post.date | dateDisplay }}</time></li>
			{% endfor %}
			</ul>

			<a href="/blog" class="block">View more posts</a>
		</section>
		<section class="stack-md">
			<h2>Popular posts</h2>

			<ul class="stack-2xs" role='list'>
			{% for post in postMetrics | take(3) | metricsToPosts(collections.posts) %}
			<li><a href="{{ post.url }}">{{ post.data.title | safe }}</a> <time datetime="{{ post.date | dateToRfc3339 }}">{{ post.date | dateDisplay }}</time></li>
			{% endfor %}
			</ul>

			<a href="/blog" class="block">View more posts</a>
		</section>
	</div>
</main>