X-Git-Url: https://git.ladys.computer/x_status_git/blobdiff_plain/d9bcb184401cc07d6acc55a8419ce743bfa8289d..3394dfeb4194ca630becdb4d34538a3370d47ca8:/post-receive diff --git a/post-receive b/post-receive index bc16a55..e1da847 100755 --- a/post-receive +++ b/post-receive @@ -70,6 +70,11 @@ if stdin.read().split()[-1] == f"refs/heads/{LIVE_BRANCH}": status["author"] = { "name": author_path.name[2:] } with author_path.open("r", encoding="utf-8") as text: status["author"]["@id"] = text.read().strip() + title_path = next(path.parent.glob("2=*")) + if title_path: + with title_path.open("r", encoding="utf-8") as text: + title = text.read().strip() + status["title"] = title date_path = next(path.parent.glob("3=*")) datetime = "" if date_path: