Updating the AHSAA Letters to the Editor

Ed's Blog Index & Contents

Oct 24, 2021 7:00

AHSAA Letters to the Web Editor

Wow! I've been spending a lot of time on these Files. I had a dozen letters to the editor sent over 10 years ago but I want to preserve these. They were in several different formats so I have been trying to figure out the best way to shoehorn these into Eleventy.

Front Matter

The letters are repetitive. Similar format for each Letter. There is a from, to, subject, date, etc. For every letter I received from Alumni, in the Front Matter, I named each component of the letter something like from,fromDate, fromCity, fromAHSyear, fromSubject, fromLocation then created a form letter, letter.njk that used all these components.