File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 22 "name" : " floriankarsten/kirby-plausible" ,
33 "description" : " " ,
44 "type" : " kirby-plugin" ,
5- "version" : " 0.2.0 " ,
5+ "version" : " 0.2.1 " ,
66 "license" : " MIT" ,
77 "authors" : [
88 {
1212 ],
1313 "require" : {
1414 "getkirby/composer-installer" : " ^1.1" ,
15- "getkirby/cms" : " ^3.6.0 || ^ 4.0.0"
15+ "getkirby/cms" : " ^4.0.0"
1616 },
1717 "autoload" : {
1818 },
Original file line number Diff line number Diff line change @@ -2,14 +2,15 @@ panel.plugin("floriankarsten/plausible", {
22 components : {
33 'k-plausible-view' : {
44 template : `
5- <k-inside>
6- <k-view class="k-plausible-view">
7- <iframe v-if="sharedLink" plausible-embed v-bind:src="sharedLink + '&embed=true&theme=light&background=%23efefef'" scrolling="no" frameborder="0" loading="lazy" class="plausible-iframe"></iframe>
8- <div style="margin-top: 30px; text-align: center;" v-else>
9- <code>You need to set floriankarsten.plausible.sharedLink in config.php</code>
10- </div>
11- </k-view>
12- </k-inside>
5+ <k-panel-inside class="k-plausible-view">
6+ <k-section>
7+ <iframe v-if="sharedLink" plausible-embed v-bind:src="sharedLink + '&embed=true&theme=light&background=%23efefef'" scrolling="no" frameborder="0" loading="lazy" class="plausible-iframe"></iframe>
8+ <script async src="https://plausible.io/js/embed.host.js"></script>
9+ <div style="margin-top: 30px; text-align: center;" v-else>
10+ <code>You need to set floriankarsten.plausible.sharedLink in config.php</code>
11+ </div>
12+ </k-section>
13+ </k-panel-inside>
1314 ` ,
1415 props : [ "sharedLink" ] ,
1516 } ,
You can’t perform that action at this time.
0 commit comments