Closed aarongable closed 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
top_graphic: X
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.
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#L5This 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.