Skip to content

Commit

Permalink
refactor: Update share button text and URL in base.html
Browse files Browse the repository at this point in the history
  • Loading branch information
devangspsingh committed Oct 20, 2024
2 parents d26a145 + 852f60f commit 9413e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
event.preventDefault(); // Prevent default link behavior

// Define the share content
const shareText = `{{ meta_description | default:default_meta_description }}`;
const shareText = `{{title}} \n\n {{ meta_description | default:default_meta_description }}`;
const shareUrl = '{{ request.build_absolute_uri }}';

// Check if the Web Share API is supported
Expand Down

0 comments on commit 9413e9c

Please sign in to comment.