diff --git a/homepage/homepage b/homepage/homepage index 3bea0fe..8eff65a 100644 --- a/homepage/homepage +++ b/homepage/homepage @@ -31,7 +31,7 @@ for part in reversed(sys.stdin.read().split("\n\n\n")): for s in content[1:]: s = s.split("\t") if len(s) == 2: substitutions[s[0]] = s[1] - content = part[len(content)+2:] + content = part[len("\n".join(content))+2:] file = File(attributes = attributes, content = content, substitutions = substitutions) if file.attributes.index("append") > file.attributes.index("replace"): @@ -45,6 +45,7 @@ for name in files: if name == "./cleanup.sh": continue attributes = files[name].attributes + if name == "./js/quotes.json": print(attributes) directory = "/".join(name.split("/")[:-1]) if attributes.index("stub") > attributes.index("verbatim"): prefix = "" @@ -173,6 +174,7 @@ indicates the opposite, though its behavior is default. /praise/Prefix +
@@ -197,6 +199,7 @@ li { font-family: monospace } /praise/index.html literally +