AI代码解释 ---title:testdate:2023-01-3114:30:55tags:---include_code:{%include_code../../../../../../../etc/passwd%} 漏洞修复▸ https://github.com/y1nglamore/hexo/blob/a3e68e7576d279db22bd7481914286104e867834/lib/p
code_dir Include code文件夹(需要双向加密认证)downloads/code i18n_dir 国际化(i18n)文件夹:lang skip_render 跳过指定文件的渲染,您可使用glob(https://github.com/isaacs/node-glob)表达式来匹配路径。 # 文章 # new_post_name 新文章的文件名称:title.md default_layout 预设布局 post auto_spacing 在中文...
功能同codeblock一样,插入source/downloads/code文件夹内的代码文件,文件路径取决于code_dir的配置。语法结构如下: {% include_code [title] [lang:language] [from:line] [to:line] path/to/file %} 1. 例子如下,test.js位于source/downloads/code文件夹下: {% include_code lang:javascript test.js %} ...
category_dir 分类文件夹 categories code_dir Include code 文件夹(需要双向加密认证) downloads/code i18n_dir 国际化(i18n)文件夹 :lang skip_render 跳过指定文件的渲染,您可使用 glob (https:///isaacs/node-glob) 表达式来匹配路径。 # 文章 # new_post_name 新文章的文件名称 : default_layout 预设布局...
{% fold 点击显/隐内容 %} something you want to fold, include code block. {% endfold %} 参考https://www.oyohyee.com/post/Note/fold.html__EOF__ 本文作者: Ryan Miao 本文链接: https://www.cnblogs.com/woshimrf/p/hexo-fold-block.html 关于博主: 评论和私信会在第一时间回复。或者...
|public| |tag_dir| 标签文件夹,按标签存放文章的目录,在给文章添加tags标签后会有 |tags| |archive_dir| 归档文件夹 |archives| |category_dir| 分类文件夹,按分类存放文章的目录,在给文章添加category标签后会有 |categories| |code_dir| Include code 文件夹 |downloads/code| |i18n_dir| 国际化(i18n)...
-- 引入侧边栏 --><asideid="#aside"><%- include('aside.ejs') %></aside><!-- 引入导航 --><nav><%- include('nav.ejs') %></nav><!-- 引入正文 --><divid="content"><%- body %></div></div><!-- 引入 js 文件 --><%- js('js/main.js') %></body></html>...
Show Code Dockerfile #基于Nginx镜像 FROM nginx:latest #换国内的源,这里用网易源 RUN sed -i 's#http://deb.debian.org#https://mirrors.163.com#g' /etc/apt/sources.list RUN sed -i 's#http://security.debian.org#https://mirrors.163.com#g' /etc/apt/sources.list ...
npm owner ls hexo-util npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/jjq/git/hexo/npm-debug.log npm ERR! code 1 这是出错日志,请问是什么原因?linux...
Hexo is a tool for generating static websites, powered by Node.js. Hexo's benefits include speed, simplicity, and flexibility, allowing it to render Markdown files into static web pages via Node.js.