We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48565c0 commit a60140cCopy full SHA for a60140c
1 file changed
src/geno/main.py
@@ -16,13 +16,15 @@ def main():
16
)
17
static.mkdir()
18
19
- content = pathlib.Path("content")
20
shutil.copytree("./assets", static / "assets")
21
-
22
shutil.copy("assets/images/nesware/nesware-logo-textless-64px.ico", static / "favicon.ico")
+ with open(static / ".htaccess", "w") as htaccess:
+ htaccess.write("DirectoryIndex index.html")
23
24
css = CSS(pathlib.Path("assets") / "css")
25
26
+ content = pathlib.Path("content")
27
+
28
def split_frontmatter_from_content(md_content: str) -> tuple[str, str]:
29
if "---fm---" in md_content:
30
frontmatter, content = md_content.split("---fm---", 1)
0 commit comments