From d1896dfbf81db92f2e3a189613b37b2d8eacfd50 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Thu, 14 Dec 2023 19:30:34 -0500 Subject: [PATCH] Fix templating for the lsst.io badge This affects READMEs created by the migration --- src/documenteer/storage/localtemplates/technote/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documenteer/storage/localtemplates/technote/README.rst b/src/documenteer/storage/localtemplates/technote/README.rst index d5199633..7774af38 100644 --- a/src/documenteer/storage/localtemplates/technote/README.rst +++ b/src/documenteer/storage/localtemplates/technote/README.rst @@ -1,4 +1,4 @@ -.. image:: https://img.shields.io/badge/{{ cookiecutter.repo_name|replace("-", "--") }}-lsst.io-brightgreen.svg +.. image:: https://img.shields.io/badge/{{ cookiecutter.series|lower }}--{{ cookiecutter.serial_number }}-lsst.io-brightgreen.svg :target: {{ cookiecutter.url }} .. image:: https://github.com/{{ cookiecutter.github_namespace }}/workflows/CI/badge.svg :target: https://github.com/{{ cookiecutter.github_namespace }}/actions/