Browse Source

Remove unused footer

shortcutme 5 years ago
parent
commit
da7f8cf45f
2 changed files with 1 additions and 2 deletions
  1. 1 1
      dbschema.json
  2. 0 1
      js/ZeroBlog.coffee

+ 1 - 1
dbschema.json

@@ -15,7 +15,7 @@
 		},
 		"data.json": {
 			"to_table": [ "post" ],
-			"to_keyvalue": [ "title", "description", "links", "next_post_id", "demo", "modified", "footer" ]
+			"to_keyvalue": [ "title", "description", "links", "next_post_id", "demo", "modified" ]
 		}
 
 	},

+ 0 - 1
js/ZeroBlog.coffee

@@ -91,7 +91,6 @@ class ZeroBlog extends ZeroFrame
 				if @data.title then $(".left h1 a:not(.editable-edit)").html(@data.title).data("content", @data.title)
 				if @data.description then $(".left h2").html(Text.renderMarked(@data.description)).data("content", @data.description)
 				if @data.links then $(".left .links").html(Text.renderMarked(@data.links)).data("content", @data.links)
-				if @data.footer then $(".footer h4").html(Text.renderMarked(@data.footer)).data("content", @data.footer)
 
 	loadLastcomments: (type="show", cb=false) ->
 		query = "