<% tp.file.title %>
<%* // 方案一:博客仓库在 BLog 下,新建后自动移到 _posts 并命名为 Jekyll 要求格式 const date = tp.file.creation_date(“YYYY-MM-DD”); const title = tp.file.title.replace(/.md$/, “”); const filename = date + “-“ + title; // 库根为「Documents」时用下面这行;若库根就是 BLog,改为: “Vooooooodga.github.io/_posts/” + filename await tp.file.move(“_posts/” + filename); %>
在这里开始写正文……