letsencrypt / website

Let's Encrypt Website and Documentation
https://letsencrypt.org
Mozilla Public License 2.0
841 stars 573 forks source link

Remove "top_graphic" article config item #1671

Closed aarongable closed 4 months ago

aarongable commented 4 months ago

Many articles in this repo include a top_graphic: X in the configuration at the top of the file. For example: https://github.com/letsencrypt/website/blob/fc52723468174cdf291f6785aad55645097a2960/content/en/about.md?plain=1#L5

This is processed by the templating system to determine which image to put in the article's header: https://github.com/letsencrypt/website/blob/fc52723468174cdf291f6785aad55645097a2960/layouts/partials/hero.html#L2

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.