Compare commits
2 commits
6c38a5034e
...
dfbc2f7264
Author | SHA1 | Date | |
---|---|---|---|
|
dfbc2f7264 | ||
|
28372f0ee3 |
16
index.json
16
index.json
|
@ -2,25 +2,25 @@
|
|||
{
|
||||
"title": "blog humble beginnings",
|
||||
"url": "https://git.xargana.tr/glitchy/blog/src/branch/main/blog_init.md",
|
||||
"last_commit": "uncommitted or no history",
|
||||
"commit_date": "unknown"
|
||||
"last_commit": "blog_init",
|
||||
"commit_date": "2025-05-18T11:18:17Z"
|
||||
},
|
||||
{
|
||||
"title": "security is annoying",
|
||||
"url": "https://git.xargana.tr/glitchy/blog/src/branch/main/security_is_annoying.md",
|
||||
"last_commit": "uncommitted or no history",
|
||||
"commit_date": "unknown"
|
||||
"last_commit": "sec is annoying update",
|
||||
"commit_date": "2025-05-18T12:44:57Z"
|
||||
},
|
||||
{
|
||||
"title": "i dont really like school",
|
||||
"url": "https://git.xargana.tr/glitchy/blog/src/branch/main/school_shit.md",
|
||||
"last_commit": "uncommitted or no history",
|
||||
"commit_date": "unknown"
|
||||
"last_commit": "school",
|
||||
"commit_date": "2025-05-19T14:59:09Z"
|
||||
},
|
||||
{
|
||||
"title": "twitter with an identity crisis",
|
||||
"url": "https://git.xargana.tr/glitchy/blog/src/branch/main/mastodon_yap.md",
|
||||
"last_commit": "uncommitted or no history",
|
||||
"commit_date": "unknown"
|
||||
"last_commit": "added yapping",
|
||||
"commit_date": "2025-05-18T23:38:06+02:00"
|
||||
}
|
||||
]
|
|
@ -14,7 +14,7 @@ def get_local_path_from_url(url):
|
|||
try:
|
||||
idx = parts.index("main")
|
||||
relpath = "/".join(parts[idx + 1:])
|
||||
return f"blog/{relpath}"
|
||||
return f"{relpath}"
|
||||
except ValueError:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue