1
0
Fork 0
mirror of synced 2024-09-29 08:41:15 +13:00

Use uppercase for constants

This commit is contained in:
jdcaballerov 2020-12-03 15:44:59 -05:00
parent c8d8346e4d
commit d4bca80b50
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,7 @@ def main_index_template(links: List[Link], template: str=MAIN_INDEX_TEMPLATE) ->
'date_updated': datetime.now().strftime('%Y-%m-%d'), 'date_updated': datetime.now().strftime('%Y-%m-%d'),
'time_updated': datetime.now().strftime('%Y-%m-%d %H:%M'), 'time_updated': datetime.now().strftime('%Y-%m-%d %H:%M'),
'links': [link._asdict(extended=True) for link in links], 'links': [link._asdict(extended=True) for link in links],
'footer_info': FOOTER_INFO, 'FOOTER_INFO': FOOTER_INFO,
}) })

View file

@ -222,6 +222,7 @@
</div> </div>
</div> </div>
</header> </header>
<table id="table-bookmarks"> <table id="table-bookmarks">
<thead> <thead>
<tr> <tr>
@ -242,7 +243,7 @@
<center> <center>
<small> <small>
Archive created using <a href="https://github.com/ArchiveBox/ArchiveBox" title="Github">ArchiveBox</a> Archive created using <a href="https://github.com/ArchiveBox/ArchiveBox" title="Github">ArchiveBox</a>
version <a href="https://github.com/ArchiveBox/ArchiveBox/tree/v{{version}}" title="Git commit">v{{version}}</a> &nbsp; | &nbsp; version <a href="https://github.com/ArchiveBox/ArchiveBox/tree/v{{VERSION}}" title="Git commit">v{{VERSION}}</a> &nbsp; | &nbsp;
Download index as <a href="index.json" title="JSON summary of archived links.">JSON</a> Download index as <a href="index.json" title="JSON summary of archived links.">JSON</a>
<br/><br/> <br/><br/>
{{FOOTER_INFO}} {{FOOTER_INFO}}