💄 Add post expired tip features.

This commit is contained in:
elkan1788
2025-01-03 20:48:41 +08:00
parent 9aaaf388f8
commit b559782447
14 changed files with 132 additions and 8 deletions

View File

@@ -495,6 +495,34 @@ params:
# 页面访问统计插件支持busuanzi, waline, waline3
# Page views counter plugin, support: busuanzi, waline, waline3
plugin: busuanzi
# 是否开启过期提示
# Expired tip
expired: false
# 文章内容中的提示信息设置
# Alert settings in post content
postAlerts:
info:
icon: "circle-info"
color: "#4A90E2"
note:
icon: "bell"
color: "#17A2B8"
help:
icon: "circle-question"
color: "#967ADC"
error:
icon: "circle-xmark"
color: "#DC3545"
warning:
icon: "triangle-exclamation"
color: "#F39C12"
success:
icon: "circle-check"
color: "#32CD32"
important:
icon: "circle-plus"
color: "#007BFF"
# 文章底部的设置
# Post footer settings

View File

@@ -4,7 +4,7 @@ description: "在新版本Hugo框架中添加了对blockquote样式渲染
keywords: "hugo,block,quote"
date: 2025-01-02T16:08:02+08:00
lastmod: 2025-01-02T16:08:02+08:00
lastmod: 2025-01-02T19:08:02+08:00
categories:
- 示例文章
@@ -15,6 +15,7 @@ tags:
url: "demo/hugo-blockquote.html"
toc: true
expired: true
---
过去 `HugoNexT` 主题都是通过自定义短语来实现块信息的标注,近期发现 `Hugo` 从[v0.134.0](https://github.com/gohugoio/hugo/releases/tag/v0.134.0)版本开始便是可以支持通过hook方式渲染Markdown文档中的Blockquote样式需要自己实现实现类似Github的警告风格样式。于是便在 `HugoNexT` 主题中添加7种不同风格供用户可选择使用还可以自定义图标与颜色配置。

View File

@@ -16,6 +16,7 @@ tags:
url: "demo/image-viewer.html"
toc: false
expired: true
---
本主题自带图像浏览器功能,支持对文章区域内出现的图片进行浏览,点击图片可以查看大图,点击空白处可以关闭。不需要配置任何参数,只要在文章里面相应的位置添加图片信息即可 。

View File

@@ -15,6 +15,7 @@ tags:
comment:
enable: false
url: "demo/no-header-title.html"
expired: true
---
刘慈欣2018克拉克奖获奖感言部分内容节选