Two variables should be replaced:
#GITHUB_REPO:jolicode/castor<!-- #SUBTITLE -->: Any sentence. Can include links.Links must have theCastor is licensed under <a href="https://github.com/jolicode/castor/blob/main/LICENSE" target="_blank" rel="noreferrer noopener" class="jf-link"> MIT license </a>
class="jf-link"attribute.
Example script:
curl -o joli-footer.html https://raw.githubusercontent.com/jolicode/oss-theme/refs/heads/main/snippet-joli-footer.html
sed -i 's/#GITHUB_REPO/jolicode\/castor/g' joli-footer.html
sed -i 's/<!-- #SUBTITLE -->/Castor is licensed under <a href="https:\/\/github.com\/jolicode\/castor\/blob\/main\/LICENSE" target="_blank" rel="noreferrer noopener" class="jf-link">MIT license<\/a>/' joli-footer.htmlAdd the file extra.css to the mkdocs.yml configuration:
extra_css:
- assets/stylesheets/extra.css