feat : barre de partage articles + déduplication images uploadées (v1.6.20)
- post_view.php : barre de partage (mail, X, LinkedIn, Mastodon, copier, Web Share) sur articles publiés (#47) - share.js : logique clipboard + navigator.share sans script tiers, compatible CSP (#47) - addFile() : hardlink vers fichier identique si même hash16-size.ext dans un autre article (#35) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -163,6 +163,9 @@ $_layoutCurrentCat = trim($_GET['cat'] ?? '');
|
||||
<?php if (isset($reactionStats)): ?>
|
||||
<script src="<?= _av($_pub, 'js/reactions.js') ?>"></script>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($shareBar ?? false)): ?>
|
||||
<script src="<?= _av($_pub, 'js/share.js') ?>" defer></script>
|
||||
<?php endif; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user