add cookie banner
This commit is contained in:
parent
edc2bf8eb8
commit
640572ecab
|
@ -233,13 +233,7 @@ pygmentsCodefencesGuessSyntax = true
|
|||
# Cookie consent config
|
||||
# Cookie 许可配置
|
||||
[params.cookieconsent]
|
||||
enable = false
|
||||
# text strings used for Cookie consent banner
|
||||
# 用于 Cookie 许可横幅的文本字符串
|
||||
[params.cookieconsent.content]
|
||||
message = ""
|
||||
dismiss = ""
|
||||
link = ""
|
||||
enable = true
|
||||
|
||||
# Markup related configuration in Hugo
|
||||
# Hugo 解析文档的配置
|
||||
|
|
1
themes/LoveIt/.github/FUNDING.yml
vendored
Normal file
1
themes/LoveIt/.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
custom: https://paypal.me/dillonzq
|
41
themes/LoveIt/.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
41
themes/LoveIt/.github/ISSUE_TEMPLATE/bug-report.md
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
name: Bug Report 错误报告
|
||||
about: Create a bug report 创建一个错误报告
|
||||
title: "[BUG] Some problem..."
|
||||
labels: bug
|
||||
|
||||
---
|
||||
|
||||
### Describe the bug 描述你遇到的错误
|
||||
|
||||
A clear and concise description of what the bug is.
|
||||
一段简短的对于你遇到的错误的描述.
|
||||
|
||||
### Expected behavior 期待的行为
|
||||
|
||||
A clear and concise description of what you expected to happen.
|
||||
一段简短的对于你期待的行为的描述.
|
||||
|
||||
### Screenshots 屏幕截图
|
||||
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
如果可以的话, 提供屏幕截图对解决问题很有帮助.
|
||||
|
||||
### Build Environment 构建环境
|
||||
|
||||
- OS: [e.g. Windows 10, macOS, Ubuntu]
|
||||
- Theme version/commit [e.g. 0.2.0, 2ccba79]
|
||||
- Hugo version [e.g. 0.69.0]
|
||||
|
||||
Please try to use Hugo **extended** version before opening the issue.
|
||||
请在创建 issue 之前尝试使用 Hugo **extended** 版本.
|
||||
|
||||
### Preview Environment 预览环境
|
||||
|
||||
- OS: [e.g. Windows 10, macOS, Ubuntu, iOS, Android]
|
||||
- Browser [e.g. Chrome, Safari, Firefox]
|
||||
|
||||
### Additional Information 补充信息
|
||||
|
||||
Configuration files or front matter code...
|
||||
配置文件或者前置参数的代码...
|
5
themes/LoveIt/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
themes/LoveIt/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Theme Documentation 主题文档
|
||||
url: https://hugoloveit.com/categories/documentation/
|
||||
about: Please read the documentation carefully. 请先仔细阅读主题文档.
|
22
themes/LoveIt/.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
22
themes/LoveIt/.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
name: Feature request 功能请求
|
||||
about: Suggest an idea for this project 为这个项目提供一个建议
|
||||
title: "[FEATURE] Some feature"
|
||||
labels: enhancement
|
||||
|
||||
---
|
||||
|
||||
### Describe the feature you want 描述你的功能需求
|
||||
|
||||
- Feature 1 功能需求 1
|
||||
I want this feature to solve ...
|
||||
我希望这个功能解决 ...
|
||||
- Feature 2 功能需求 2
|
||||
I want this feature to solve ...
|
||||
我希望这个功能解决 ...
|
||||
- ...
|
||||
|
||||
### Useful reference 有价值的参考
|
||||
|
||||
If available, provide useful links to fulfill the feature.
|
||||
如果可以的话, 提供实现这个功能的相关参考链接.
|
19
themes/LoveIt/.gitignore
vendored
Normal file
19
themes/LoveIt/.gitignore
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Hugo default output directory
|
||||
public/
|
||||
/exampleSite/resources/
|
||||
|
||||
node_modules/
|
||||
build/
|
||||
|
||||
## OS Files
|
||||
# Windows
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
Desktop.ini
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# OSX
|
||||
.DS_Store
|
||||
|
||||
# Linux
|
||||
.directory
|
Loading…
Reference in a new issue