import common def atom(entries): return ( """""" """""" "" + common.title("") + "" f"""{common.base_url}/""" f"""""" f"""""" "Grey Nicholson" f"{common.base_url}/style/icon.svg" "" + common.updated.isoformat() + "" + "\n" + "\n".join(common.atom_entry(id) for id in reversed(entries)) + "\n" + "" ) def html(entries): list_of_entries = ( "
    " + "".join( ("
  1. " + common.link_to_entry(entry) + "
  2. ") for entry in reversed(entries) ) + "
" ) list_of_dates = ( "

Years:

" + "
    " + "".join( ("
  1. " + f'{year:%Y}' + "
  2. ") for year in common.years ) + "
" ) list_of_series = ( ( "

Series:

" + "" ) if len(common.series) > 0 else "" ) list_of_tags = ( ( "

Tags:

" + "" ) if len(common.repeated_tags) > 0 else "" ) return common.print_html( f""" {common.head} {common.title('All entries')}

All entries


{common.footer} """ )