1
0
Fork 0
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:
slaveeks 2022-12-13 16:48:49 +03:00
parent d3e0cb176c
commit de57531962

View file

@ -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,