Skip to content

Commit

Permalink
feat: format
Browse files Browse the repository at this point in the history
  • Loading branch information
linsyking committed Aug 10, 2024
1 parent 99ce1d4 commit 74dc6d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Build Blog

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand Down
6 changes: 4 additions & 2 deletions scripts/md.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,11 @@ const new_s = input.replace(/^---\n([\s\S]*?)---\n/, function (_, p1) {
console.error("Error: no title or date");
process.exit(1);
}
let date_num = Number(cp.execSync(`git log -1 --format=%ct ${fpath}`).toString());
let date_num = Number(
cp.execSync(`git log -1 --format=%ct ${fpath}`).toString(),
);
let date_str = "";
if(date_num != 0) {
if (date_num != 0) {
let lmd_date = new Date(date_num * 1000);
date_str = `<post-date>${format_dt(lmd_date)}</post-date>`;
}
Expand Down
2 changes: 1 addition & 1 deletion site/blog/acg/book/XiangShou/XiangShou.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ tags:

个人认为作者在推理的部分略微有点跳跃,逻辑链完整但是连续性并不是最佳。整体瑕不掩瑜。

个人评分:10/10
个人评分:10/10
3 changes: 1 addition & 2 deletions site/blog/acg/vn/TrickxLogic/TrickxLogic.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ tags:

坑爹推理,部分优秀。被某评论误导玩了这篇。


:::center
**~剧透部分~**
:::
Expand All @@ -49,4 +48,4 @@ tags:

密室这篇优秀的地方在于是“双重案件”。表面上看上去是一起杀人案但是实际上却是两个不同的案件同时发生导致不是凶手的人做了看似凶手的事情。能想到是两个案件实在困难。

个人评分:9/10
个人评分:9/10

0 comments on commit 74dc6d6

Please sign in to comment.