Open gangxing1996 opened 2 years ago
I am gangxing.
哎 这个gitalk也是搞搞的
我似乎明白了 gitalk每篇文章对应的issue就是 文章的path做完md5的值作为issue的label ex. 这篇的地址是/2022/04/12/cpp-init-var/ label是b3a1789211e344610f5ba4ecb8781da5
/tags/ 是例外 是md5(/tags/index.html) 另外几个page也同理
把node_modules/hexo-theme-next/layout/_third-party/comments/gitalk.njk
中的path_md5
修改成path_md5: page.path.split('/')[page.path.split('/').length-2]
这样子gitalk吃的tag就只是文件名了
https://blog.gangxing.moe/2022/04/12/cpp-init-var/#more
问题描述在题目 Leetcode 806. 写字符串需要的行数 中发现一个问题。 123456789101112131415161718#include <bits/stdc++.h>using namespace std;class Solution {public: vector numberOfLines(vector&