mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-19 13:19:42 +02:00
Fixed copy button path in header.twig
This commit is contained in:
parent
d3e0cb176c
commit
de57531962
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<h{{ level }} id="{{ text | urlify }}" class="block-header block-header--{{ level }}">
|
<h{{ level }} id="{{ text | urlify }}" class="block-header block-header--{{ level }}">
|
||||||
{%
|
{%
|
||||||
include 'components/copy-button.twig' with {
|
include '../../components/copy-button.twig' with {
|
||||||
ariaLabel: 'Copy Link to the ' ~ text,
|
ariaLabel: 'Copy Link to the ' ~ text,
|
||||||
class: 'block-header__copy-button',
|
class: 'block-header__copy-button',
|
||||||
textToCopy: '#' ~ text | urlify,
|
textToCopy: '#' ~ text | urlify,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue