letsencrypt/website

Remove "top_graphic" article config item

Closed this issue · 0 comments

Many articles in this repo include a top_graphic: X in the configuration at the top of the file. For example:

top_graphic: 1

This is processed by the templating system to determine which image to put in the article's header:

{{ $bgImage := printf "images/%d.jpg" (.Param "top_graphic") | relURL }}

But, all of the "X.jpg" files in the //static/images directory are identical.

We should remove this config item, remove all of the redundant copies of the image, and hard-code hero.html to always reference a single image.