Tweaks to config and new design post

This commit is contained in:
Wesley Moore 2020-01-29 08:38:06 +11:00
parent 3902ccc818
commit b67809803b
4 changed files with 29 additions and 24 deletions

View file

@ -3,7 +3,7 @@ base_url = "https://files.wezm.net/v2"
title = "Wesley Moore" title = "Wesley Moore"
description = "TODO" description = "Posts by Wesley Moore"
# Whether to automatically compile all Sass files in the sass directory # Whether to automatically compile all Sass files in the sass directory
compile_sass = true compile_sass = true

View file

@ -1,9 +1,5 @@
+++ +++
title = "About" title = "About"
date = 2020-01-27T08:38:24+11:00
[extra]
show_date = false
+++ +++
![Photo of me in Nepal](../images/Photo%20of%20Wesley%20Moore.jpg) ![Photo of me in Nepal](../images/Photo%20of%20Wesley%20Moore.jpg)

View file

@ -7,36 +7,45 @@ date = 2020-01-27T15:42:29+11:00
+++ +++
It's been more than 10 years since I started working on [the previous design] It's been more than 10 years since I started working on [the previous design]
for this website 😅, although it won't have been public for 10 years until July for this website 😅. This feels like a good point to come up with a one!
2020. This feels like a good point to come up with a one!
<!-- more --> <!-- more -->
The previous design served me well. The uncluttered design focussed on text was The previous design served me well. The uncluttered design focussed on text was
fast and responsive. It saw the introduction of new devices like iPad and a fast and responsive. It saw the introduction of new devices like iPad and a
gradual increase in mobile display size without needing updating. The new gradual increase in mobile display size without needing updating. The new
design aims to retain these features while giving it a lighter feel. I'm using design aims to retain these features while giving it a lighter, more modern
the [Manrope] variable font for all text. feel.
Technology wise, the previous site was built with [Nanoc], a Ruby static site
compiler. I've been very happy with Nanoc. As my programming interests have
shifted away from Ruby to Rust in the last decade I wanted to try a Rust static
site compiler. The site is now built with [Zola]. Zola is perhaps not quite as
flexible as Nanoc but I've been able to achieve everything I wanted to with it.
It's super fast and has nice conveniences like live-reload when editing
content. Being a single file native binary also makes installation
straightforward — no need to juggle Ruby versions or install gems.
Inspired by [Chris Krycho] and [Shaun Inman] I've taken to versioning the Inspired by [Chris Krycho] and [Shaun Inman] I've taken to versioning the
website instead of attempting to port all the existing content over to the new website instead of attempting to port all the existing content over to the new
technology. This makes the redesign more of a clean slate and leaves old posts technology. This makes the redesign more of a clean slate and leaves old posts
appearing how the did when originally posted. The new site is hosted under the appearing how the did when originally posted. The new site is hosted under the
`/v2/` prefix. This allows all existing pages to stay where they are and `/v2/` prefix. This allows all existing pages to stay where they are and
retains the `www.wezm.net` domain. retains the `www.wezm.net` domain. Compared to using a sub-domain it doesn't
mess with DNS or search ranking. I have put redirects in place to direct the
RSS feeds from the previous version to the new feed.
Finally, I've now open sourced [the repository][repo] that the site is generated from. This The new design uses the [Manrope] variable font for all text. Variable fonts
is to allow others to see how the site is built and also to submit corrections/fixes are a fairly recent addition to the web platform but they have good support
if they're noticed. from fairly recent versions of all modern browsers and operating systems. On
older browsers/operating systems the layout will fall back to a sans-serif font.
Webfonts generally come with a non-trivial download cost. However, Manrope is
108kB and being a variable font that includes all weights between 200 and 800,
as well as italic!
Technology wise, the previous site was built with [Nanoc], a Ruby static site
compiler. I've been very happy with Nanoc over the years but as my programming
interests have shifted away from Ruby to Rust I've wanted to try a Rust static
site compiler. I'm now using [Zola]. Zola is perhaps not quite as flexible as
Nanoc but I've been able to achieve everything I wanted to with it. It's super
fast and has nice conveniences like live-reload when editing content. Being a
single file native binary also makes installation a breeze — no need to juggle
Ruby versions or install gems.
Finally, I've now made [the repository][repo] that the site is generated from
public. This is to allow others to see how the site is built and permit
corrections/fixes via issue or pull request.
[Chris Krycho]: https://v4.chriskrycho.com/2019/my-final-round-of-url-rewrites-ever.html [Chris Krycho]: https://v4.chriskrycho.com/2019/my-final-round-of-url-rewrites-ever.html
[Shaun Inman]: https://web.archive.org/web/20160422175043/http://shauninman.com/archive/2006/12/04/the_original_heap [Shaun Inman]: https://web.archive.org/web/20160422175043/http://shauninman.com/archive/2006/12/04/the_original_heap

View file

@ -21,7 +21,7 @@
<h2> <h2>
<a href="/{{ page.path }}">{{ page.title }}</a> <a href="/{{ page.path }}">{{ page.title }}</a>
</h2> </h2>
{% if page.extra.show_date | default(value=true) %} {% if page.date %}
<div class="post-metadata"> <div class="post-metadata">
<div class="date-published"> <div class="date-published">
<svg class="date-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" version="1.1" x="0px" y="0px"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M38.6172116,78.6191533 L47.8030928,78.6191533 L47.8030928,69.4332721 L38.6172116,69.4332721 L38.6172116,78.6191533 Z M24.8586734,78.6191533 L34.0445546,78.6191533 L34.0445546,69.4332721 L24.8586734,69.4332721 L24.8586734,78.6191533 Z M66.1332478,64.2656288 L75.319129,64.2656288 L75.319129,55.0797476 L66.1332478,55.0797476 L66.1332478,64.2656288 Z M52.3757498,64.2656288 L61.561631,64.2656288 L61.561631,55.0797476 L52.3757498,55.0797476 L52.3757498,64.2656288 Z M38.6172116,64.2656288 L47.8030928,64.2656288 L47.8030928,55.0797476 L38.6172116,55.0797476 L38.6172116,64.2656288 Z M24.8586734,64.2656288 L34.0445546,64.2656288 L34.0445546,55.0797476 L24.8586734,55.0797476 L24.8586734,64.2656288 Z M66.1332478,49.9110641 L75.319129,49.9110641 L75.319129,40.7251829 L66.1332478,40.7251829 L66.1332478,49.9110641 Z M52.3757498,49.9110641 L61.561631,49.9110641 L61.561631,40.7251829 L52.3757498,40.7251829 L52.3757498,49.9110641 Z M38.6172116,49.9110641 L47.8030928,49.9110641 L47.8030928,40.7251829 L38.6172116,40.7251829 L38.6172116,49.9110641 Z M24.8586734,49.9110641 L34.0445546,49.9110641 L34.0445546,40.7251829 L24.8586734,40.7251829 L24.8586734,49.9110641 Z M13.1607434,90.8382164 L87.7337471,90.8382164 L87.7337471,30.2016227 L13.1607434,30.2016227 L13.1607434,90.8382164 Z M13.1617836,26.0408793 L87.7347873,26.0408793 L87.7347873,16.2662529 L13.1617836,16.2662529 L13.1617836,26.0408793 Z M73.5237682,12.1055095 L73.5237682,5 L69.3630249,5 L69.3630249,12.1055095 L31.5314656,12.1055095 L31.5314656,5 L27.3707222,5 L27.3707222,12.1055095 L9,12.1055095 L9,95 L91.8955307,95 L91.8955307,12.1055095 L73.5237682,12.1055095 Z" fill="currentColor"/></g></svg> <svg class="date-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" version="1.1" x="0px" y="0px"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M38.6172116,78.6191533 L47.8030928,78.6191533 L47.8030928,69.4332721 L38.6172116,69.4332721 L38.6172116,78.6191533 Z M24.8586734,78.6191533 L34.0445546,78.6191533 L34.0445546,69.4332721 L24.8586734,69.4332721 L24.8586734,78.6191533 Z M66.1332478,64.2656288 L75.319129,64.2656288 L75.319129,55.0797476 L66.1332478,55.0797476 L66.1332478,64.2656288 Z M52.3757498,64.2656288 L61.561631,64.2656288 L61.561631,55.0797476 L52.3757498,55.0797476 L52.3757498,64.2656288 Z M38.6172116,64.2656288 L47.8030928,64.2656288 L47.8030928,55.0797476 L38.6172116,55.0797476 L38.6172116,64.2656288 Z M24.8586734,64.2656288 L34.0445546,64.2656288 L34.0445546,55.0797476 L24.8586734,55.0797476 L24.8586734,64.2656288 Z M66.1332478,49.9110641 L75.319129,49.9110641 L75.319129,40.7251829 L66.1332478,40.7251829 L66.1332478,49.9110641 Z M52.3757498,49.9110641 L61.561631,49.9110641 L61.561631,40.7251829 L52.3757498,40.7251829 L52.3757498,49.9110641 Z M38.6172116,49.9110641 L47.8030928,49.9110641 L47.8030928,40.7251829 L38.6172116,40.7251829 L38.6172116,49.9110641 Z M24.8586734,49.9110641 L34.0445546,49.9110641 L34.0445546,40.7251829 L24.8586734,40.7251829 L24.8586734,49.9110641 Z M13.1607434,90.8382164 L87.7337471,90.8382164 L87.7337471,30.2016227 L13.1607434,30.2016227 L13.1607434,90.8382164 Z M13.1617836,26.0408793 L87.7347873,26.0408793 L87.7347873,16.2662529 L13.1617836,16.2662529 L13.1617836,26.0408793 Z M73.5237682,12.1055095 L73.5237682,5 L69.3630249,5 L69.3630249,12.1055095 L31.5314656,12.1055095 L31.5314656,5 L27.3707222,5 L27.3707222,12.1055095 L9,12.1055095 L9,95 L91.8955307,95 L91.8955307,12.1055095 L73.5237682,12.1055095 Z" fill="currentColor"/></g></svg>