1725 功能大改

This commit is contained in:
Vaica committed 2026-06-24 17:25:54 +08:00
1 parent fa52190830
commit f73bf33bce
10 files changed
+1743 -10

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
{{- $src := .Get "src" | default "" -}}
{{- if and $src (not (findRE "^(https?://|/)" $src)) -}}
{{- with .Page.Resources.GetMatch $src -}}
{{- $src = .RelPermalink -}}
{{- end -}}
{{- end -}}
{{- $isToday := eq (.Page.Date.Format "2006-01-02") (now.Format "2006-01-02") -}}
<div class="amigo-voice-bubble" data-src="{{ $src }}">
<div class="amigo-voice-icon">
<span></span><span></span><span></span>
</div>
<span class="amigo-voice-duration">″</span>
{{ if $isToday }}<i class="amigo-voice-unread"></i>{{ end }}
</div>