
NASA’s ‘Your Name In Landsat‘ is neat; it attempts to spell your name – or any other word you provide – in land features from satellite imagery as recorded by the Landsat satellite network.
Continue reading “Your Name In Landsat”A Little More Web Kipple
NASA’s ‘Your Name In Landsat‘ is neat; it attempts to spell your name – or any other word you provide – in land features from satellite imagery as recorded by the Landsat satellite network.
Continue reading “Your Name In Landsat”The Jekyll’s introductory tutorial suggests using…
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
…as liquid code to display a programmatically generated, bullet-pointed list of blog posts titles each with a link to the post in question.
However, a more useful list of blog posts titles can be generated with a little extra effort.
The following code block will generate a bullet-pointed list of posts with a link to the post in question. Next to the post title it will add the canonical date of the post – formatted in a human friendly style – and, below, will append a generated excerpt from the post to tease any potential reader.
<ul>
{% for post in site.posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date| date: "%B %d, %Y" }})
{{ post.excerpt }}
</li>
{% endfor %}
</ul>
The end result is something like this:
The Jekyll introductory tutorial encourages you to create all pages with a header block that includes the key pair ‘title: A Page Title’. An unfortunate downside to this is that, under the default theme, every page is now added to your site’s auto-generated header – something that, as your site grows, you are unlikely to want to do.
Fixing this is simple; to exclude a page from the site’s header just omit your ‘title: A Page Title’ key pair.
For example:
---
layout: page
title: Blog
permalink: /blog/
---
… would add the page ‘Blog’ to the header and…
---
layout: page
permalink: /blog/
---
…would see it omitted.
The first two blog posts on this site have concentrated on the technical aims of starting this website – to improve and expand my linux, nginx, and other associated skills.
Now it’s time to talk about another reason:
It’s been fairly obvious now that, after nearly two decades of tech expansion and growth combined – paradoxically – with the mass centralisation of user activity, there is a very good chance that, come the next tech recession, large chunks of people’s online presence risk being lost to the Official Reciever and the world’s various bankruptcy courts.
In some instances this may be a benefit – the loss of a million cringe-inducing MySpace profiles probably helps some sleep at night – but others (the slow slip of LiveJournal into the Russian sphere, the coming purge of millions of images on Flickr as various owners try – and fail – to make the site sustainable) qualify as material risks to online presences that may now stretch back two or more decades and provide value to the people concerned.
Operating my own domain allows me to hedge against these kind of events.
That’s not to say that this site will stay up – or will even always be available – but, thanks to the collapse in costs in personal hosting, I stand a far better chance of dictating the length of this site’s existence than I would were I to commit my content to someone else’s platform.
Domains name registration, DNS resolution services, hosting; these are all commodity activities that can be swapped at will – as long as I have the relevent authorisation.
And I will never have that relevent authorisation for Flickr.
Or Reddit.
Or LinkedIn.
As part of relearning both linux and nginx, I need to create and manage content on this site. For this I will be using the Jekyll static templating application to pre-generate the pages I serve. I will be using generated but static pages for two important reasons:
This is the homepage for www.chrisrcook.com – a toy website to built to ease me back into linux/nginx use.
This site is currently hosted on a Raspberry Pi 3 B+ running the latest release of Raspbian.