mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 05:09:41 +02:00
Fixed path of copy button in code.twig, updated version
This commit is contained in:
parent
de57531962
commit
b72de6bdb2
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "codex.docs",
|
||||
"license": "Apache-2.0",
|
||||
"version": "v2.2.0-rc.1",
|
||||
"version": "v2.2.0-rc.3",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"codex.docs": "dist/backend/app.js"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="block-code__content">{{ code | escape }}</div>
|
||||
</div>
|
||||
{%
|
||||
include 'components/copy-button.twig' with {
|
||||
include '../../components/copy-button.twig' with {
|
||||
ariaLabel: 'Copy Code to Clipboard',
|
||||
class: 'block-code__copy-button',
|
||||
textToCopy: code | escape,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue