python - How to add a favicon to a Pelican blog? -
i creating static site pelican , i'm confused how add favicon it.
i've seen in documentation that:
you can use
extra_path_metadatamechanism placefavicon.icoorrobots.txt@ root of site.
i don't know put favicon.ico file , specify in extra_path_metadata setting (if setting should used).
in my pelicanconf.py, have:
static_paths = [ 'images', 'extra/robots.txt', 'extra/favicon.ico' ] extra_path_metadata = { 'extra/robots.txt': {'path': 'robots.txt'}, 'extra/favicon.ico': {'path': 'favicon.ico'} } the structure these files then:
/content /extra favicon.ico robots.txt see the documentation, shows similar layout.
Comments
Post a Comment