diff --git a/archivebox/index/html.py b/archivebox/index/html.py
index 4ddedf69..7095b6fd 100644
--- a/archivebox/index/html.py
+++ b/archivebox/index/html.py
@@ -61,7 +61,7 @@ def main_index_template(links: List[Link], template: str=MAIN_INDEX_TEMPLATE) ->
         'date_updated': datetime.now().strftime('%Y-%m-%d'),
         'time_updated': datetime.now().strftime('%Y-%m-%d %H:%M'),
         'links': [link._asdict(extended=True) for link in links],
-        'footer_info': FOOTER_INFO,
+        'FOOTER_INFO': FOOTER_INFO,
     })
 
 
diff --git a/archivebox/themes/default/main_index.html b/archivebox/themes/default/main_index.html
index 3df77ff3..95af1963 100644
--- a/archivebox/themes/default/main_index.html
+++ b/archivebox/themes/default/main_index.html
@@ -222,6 +222,7 @@
                 </div>
             </div>
         </header>
+        
         <table id="table-bookmarks">
             <thead>
                 <tr>
@@ -242,7 +243,7 @@
             <center>
                 <small>
                     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>
                     <br/><br/>
                     {{FOOTER_INFO}}