From d6d303ccf52eb81966cc549b0a6219537d73e101 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 20 Apr 2022 17:59:35 +0800 Subject: [PATCH] :white_check_mark: Test: add test posts for FixIt feature --- exampleSite/content/tests/_index.en.md | 3 ++ exampleSite/content/tests/fontawesome.md | 23 +++++++++++ exampleSite/content/tests/markdown.md | 50 ++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 exampleSite/content/tests/_index.en.md create mode 100644 exampleSite/content/tests/fontawesome.md create mode 100644 exampleSite/content/tests/markdown.md diff --git a/exampleSite/content/tests/_index.en.md b/exampleSite/content/tests/_index.en.md new file mode 100644 index 00000000..448fa9b4 --- /dev/null +++ b/exampleSite/content/tests/_index.en.md @@ -0,0 +1,3 @@ +--- +title: Tests +--- \ No newline at end of file diff --git a/exampleSite/content/tests/fontawesome.md b/exampleSite/content/tests/fontawesome.md new file mode 100644 index 00000000..6eb4ca5d --- /dev/null +++ b/exampleSite/content/tests/fontawesome.md @@ -0,0 +1,23 @@ +--- +title: "Font Awesome Test" +date: 2022-04-19T10:15:22+08:00 +description: "Test for rendering Font Awesome icons" +type: 'posts' +draft: true + +tags: +- Test +- content +- Font Awesome +categories: +- Test + +menu: + main: + title: "Test for rendering Font Awesome icons" + parent: "tests" + pre: "" +--- + +:(fas fa-user-circle): +:(fab fa-twitter fa-spin): \ No newline at end of file diff --git a/exampleSite/content/tests/markdown.md b/exampleSite/content/tests/markdown.md new file mode 100644 index 00000000..cc910391 --- /dev/null +++ b/exampleSite/content/tests/markdown.md @@ -0,0 +1,50 @@ + +--- +title: "Markdown Test" +date: 2022-04-20T17:50:22+08:00 +description: "Test for Markdown rendering" +type: 'posts' +draft: true + +tags: +- Test +- content +- Markdown +categories: +- Test + +menu: + main: + title: "Test for Markdown rendering" + parent: "tests" + pre: "" +--- + +## line break +`FixIt is a clean, elegant but advanced blog theme for Hugo developed by Lruihao.It is based on the original LoveIt Theme, LeaveIt Theme and KeepIt Theme.` + +`FixIt 是一个由 Lruihao 开发的简洁、优雅且高效的 Hugo 博客主题。它的原型基于 LoveIt 主题,LeaveIt 主题 和 KeepIt 主题。` + +## table + +| 表达式 | 说明 | +| :----------------------- | :------------------------------------------------------------ | +| `0 0/5 * * * ?` | 每隔 5 分钟执行一次 | +| `10 0/5 * * * ?` | 每隔 5 分钟执行一次,每次执行都在分钟开始的 10 秒,例如 10:00:10、10:05:10 等等。 | +| `0 30 10-13 ? * WED,FRI` | 每周三和每周五的 10:30、11:30、12:30、13:30 执行。 | +| `0 0/30 8-9 5,20 * ?` | 每个月的 5 号和 20 号的 8 点和 10 点之间每隔 30 分钟执行一次,也就是 8:00、8:30、9:00 和 9:30。 | +| `0 15 10 ? * *` | 每天上午 10:15 执行任务 | +| `0 15 10 * * ?` | 每天上午 10:15 执行任务 | +| `0 0 12 * * ?` | 每天中午 12:00 执行任务 | +| `0 0 10,14,16 * * ?` | 每天上午 10:00 点、下午 14:00 以及下午 16:00 执行任务 | +| `0 0/30 9-17 * * ?` | 每天上午 09:00 到下午 17:00 时间段内每隔半小时执行任务 | +| `0 * 14 * * ?` | 每天下午 14:00 到下午 14:59 时间段内每隔 1 分钟执行任务 | +| `0 0-5 14 * * ?` | 每天下午 14:00 到下午 14:05 时间段内每隔 1 分钟执行任务 | +| `0 0/5 14 * * ?` | 每天下午 14:00 到下午 14:55 时间段内每隔 5 分钟执行任务 | +| `0 0/5 14,18 * * ?` | 每天下午 14:00 到下午 14:55、下午 18:00 到下午 18:55 时间段内每隔 5 分钟执行任务 | +| `0 0 12 ? * WED` | 每个星期三中午 12:00 执行任务 | +| `0 15 10 15 * ?` | 每月 15 日上午 10:15 执行任务 | +| `0 15 10 L * ?` | 每月最后一日上午 10:15 执行任务 | +| `0 15 10 ? * 6L` | 每月最后一个星期六上午 10:15 执行任务 | +| `0 15 10 ? * 6#3` | 每月第三个星期六上午 10:15 执行任务 | +| `0 10,44 14 ? 3 WED` | 每年 3 月的每个星期三下午 14:10 和 14:44 执行任务 | \ No newline at end of file