Skip to content

Commit 7a95533

Browse files
committed
CloudCannon: Add editable area attributes
1 parent 78599a2 commit 7a95533

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/_default/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{{ end }}
3030
{{ end }}
3131
</section>
32-
<div class="text-content">
32+
<div data-cms-edit="content" class="text-content">
3333
<h1>{{ .Title }}</h1>
3434
{{ .Content }}
3535
{{ if eq .Page.Draft true }}{{ partial "draft-badge.html" . }}{{ end }}

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{ end }}
2727
{{ end }}
2828
</section>
29-
<div class="text-content list-page">
29+
<div data-cms-edit="content" class="text-content list-page">
3030
<h1>{{ .Title }}</h1>
3131
{{ .Content }}
3232

0 commit comments

Comments
 (0)