Hiding Future Content with Eleventy

Hiding Future Content with Eleventy

Here's a quick tip for something that's been on my mind lately with Eleventy - hiding content so that it's published but not linked. What do I mean by that? Eleventy doesn't support the idea of "drafts" such that you can have content locally but not in production. You can use permalink: false (documented here) to stop a page from being output, but it will still exist in collections. I thought a more useful case may be the ability to publish content for the future such that they are not listed in collections until their publish date has come to pass. This has the benefit of letting you see the content if you know the URL. This lets you write a post for next week, publish, and share the URL with a reviewer. In order for this to be effective though you need to have builds scheduled on a regular basis. It would be simple to schedule a daily, or even hourly, build on Netlify and other platforms (let me know if you want to see an example of that!). Let's consider a simple example.

read more

Migrating from Node and Express to the Jamstack - Part 1

Migrating from Node and Express to the Jamstack - Part 1

Welcome to the first of a series of some unknown length. For the past year or so (seriously), I've been looking at an old Node.js project I have and thinking about how I could update to it. I have to be a bit vague because it's a secret project I'm doing with some friends but it involved a number of features:

read more

Sharing Your Movies with Pipedream and Letterboxd

Sharing Your Movies with Pipedream and Letterboxd

I recently discovered Letterboxd via a cool example of integrating it's data with Eleventy ("Show Off Your Letterboxd Film Diary with Eleventy"). Letterboxd is a site (and app) that lets you track the movies you've watched and give reviews and ratings. I'm a huge fan of GoodReads for keeping track of the books I've read and I'm going to give Letterboxd a try as well. My wife and I are both huge movie nerds so I thought it would be kind of cool to have a list of movies I've watched when the year finally ends.

read more

Making Monsters with JavaScript

Making Monsters with JavaScript

A few days ago I blogged about how I had started on a Vue.js RPG game a while ago and never got around to putting more work into it. This may be hard to believe, but building games is pretty hard! I realized though that the parts I most looked forward too, the more creative parts, were things that I could work on and just stop worrying about actually finishing the game.

read more

Testing Vue.js Application Files That Aren't Components

Testing Vue.js Application Files That Aren't Components

Ok, before I begin, a huge disclaimer. My confidence on this particular tip is hovering around 5% or so. Alright, so some context. I'm working on a game in Vue.js. Surprise surprise. It probably won't ever finish, but I'm having some fun building small parts of it here and there. The game is an RPG and one of the first things I built was a basic dice rolling utility.

read more

Review: The Bard's Tale IV

Review: The Bard's Tale IV

It's been sometime since I've posted a video game review. (My last one was a review of my Arcade1Up machine and I still love it!) As I'm spending a lot more times indoors lately (thank you Corona!) I've had a chance to play quite a bit more and I figured it couldn't hurt to start up the review process again. I first ran across "Bards Table IV" (BT4 from now on) while perusing the list of games available on XBox Game Pass. This is their "Netflix-style" service that offers a library of games you can play for a monthly fee. At first, I thought it was a different game.

read more

Building a Vue Application with Serverless on Netlify

Building a Vue Application with Serverless on Netlify

This is something that is - surely - documented in a thousand other blog posts, but it's not something I've tried yet with Netlify so I thought I'd give it a go. It was this or watch another episode of "Unsolved Mysteries" on Netflix and obviously I chose this instead. I'm glad I did because it worked surprisingly well with no real hiccups. I just needed to "see" it myself at least once to be sure it worked.

read more

How to Enable your Jamstack Site to have a

How to Enable your Jamstack Site to have a "Rain Day"

So this is perhaps a bit of an edge case, but I was thinking about it this weekend and decided to build a quick demo of it just to see if it would actually work. Imagine a simple Jamstack site for a farmer's market. Now imagine that this particular market is closed when there is bad weather. What if we could build a Jamstack site that checked the weather in the morning and added a warning to the site that they may be closed due to rain? Here's how I implemented this idea.

read more