Feat(ignore): add data-adapters attribute

It is helpful to identify whether the content originated from a content adapters.
This commit is contained in:
Cell
2024-10-01 18:10:48 +08:00
parent b44555d403
commit 9e9bc9effd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.13-ed8cf316" -}}
{{- .Scratch.Set "version" "v0.3.13-b44555d4" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}
+1 -1
View File
@@ -21,7 +21,7 @@
{{- block "custom-aside" . }}{{ end -}}
</aside>
<article class="page single">
<article class="page single"{{ with .Params.fromAdapters }} data-adapters="{{ . }}"{{ end }}>
<div class="header">
{{- /* Title */ -}}
<h1 class="single-title animate__animated animate__flipInX">