1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Restore the copy URL function that was deleted by mistake

This commit is contained in:
Cotes Chung
2021-09-16 15:38:59 +08:00
parent d761d340a8
commit e607e5fe86
9 changed files with 96 additions and 34 deletions

View File

@@ -16,9 +16,10 @@
</a>
{% endfor %}
<i class="fa-fw fas fa-link small" onclick="copyLink('', '{{ site.data.locales[lang].post.button.copy.succeed }}')"
<i id="copy-link" class="fa-fw fas fa-link small"
data-toggle="tooltip" data-placement="top"
title="{{ site.data.locales[lang].post.button.copy.title }}">
title="{{ site.data.locales[lang].post.button.share_link.title }}"
title-succeed="{{ site.data.locales[lang].post.button.share_link.succeed }}">
</i>
</span>