mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
✅ Test: add test posts for FixIt feature
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Tests
|
||||
---
|
||||
@@ -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: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
:(fas fa-user-circle):
|
||||
:(fab fa-twitter fa-spin):
|
||||
@@ -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: "<i class='fas fa-vial fa-fw fa-sm'></i>"
|
||||
---
|
||||
|
||||
## 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 执行任务 |
|
||||
Reference in New Issue
Block a user