diff --git a/.eleventy.js b/.eleventy.js
index 837eca56..292c2909 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -77,6 +77,9 @@ export default async function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({
'node_modules/@daviddarnes/mastodon-post/mastodon-post.js': 'assets/scripts/mastodon-post.js'
})
+ eleventyConfig.addPassthroughCopy({
+ 'node_modules/@daviddarnes/share-button/share-button.js': 'assets/scripts/share-button.js'
+ })
// enable merging of tags
eleventyConfig.setDataDeepMerge(true)
diff --git a/package-lock.json b/package-lock.json
index 6c6c744a..fe9f8ca6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,15 +1,16 @@
{
"name": "coryd.dev",
- "version": "6.0.7",
+ "version": "6.1.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
- "version": "6.0.7",
+ "version": "6.1.7",
"license": "MIT",
"dependencies": {
"@daviddarnes/mastodon-post": "^1.1.1",
+ "@daviddarnes/share-button": "^1.1.2",
"@remy/webmention": "^1.5.0",
"@zachleat/pagefind-search": "^1.0.3"
},
@@ -1231,6 +1232,11 @@
"resolved": "https://registry.npmjs.org/@daviddarnes/mastodon-post/-/mastodon-post-1.1.1.tgz",
"integrity": "sha512-qkVOJkCzsMASuvcvlv9cG/hdDwMp9uVnfFS7YhQ0JPmls4g6eVQNjLBxUT+iINFU+yBZj/zPwovDhO79gnOPEQ=="
},
+ "node_modules/@daviddarnes/share-button": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@daviddarnes/share-button/-/share-button-1.1.2.tgz",
+ "integrity": "sha512-FV89mgFwG9+97VvkHzrE3SR3p9BzM31SuDtpWFJIfw/aThVvoQj7zM71FJ+QBAfUMF1Wwm7Jufvh6h4hEdA1uA=="
+ },
"node_modules/@emnapi/runtime": {
"version": "0.45.0",
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-0.45.0.tgz",
diff --git a/package.json b/package.json
index 6598c75d..9004e74e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "coryd.dev",
- "version": "6.1.7",
+ "version": "6.2.7",
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {
@@ -21,6 +21,7 @@
"license": "MIT",
"dependencies": {
"@daviddarnes/mastodon-post": "^1.1.1",
+ "@daviddarnes/share-button": "^1.1.2",
"@remy/webmention": "^1.5.0",
"@zachleat/pagefind-search": "^1.0.3"
},
diff --git a/src/_includes/partials/now/media-grid.liquid b/src/_includes/partials/now/media-grid.liquid
index 5dede610..99e13d5f 100644
--- a/src/_includes/partials/now/media-grid.liquid
+++ b/src/_includes/partials/now/media-grid.liquid
@@ -37,7 +37,8 @@
'lazy'
{%- endif -%}
{%- endcapture -%}
-
+
+ {{ item.image}}
{% endfor %}
diff --git a/src/_includes/partials/share-button.liquid b/src/_includes/partials/share-button.liquid
new file mode 100644
index 00000000..a0e5a194
--- /dev/null
+++ b/src/_includes/partials/share-button.liquid
@@ -0,0 +1,23 @@
+{% capture css %}
+ {% render "../../assets/styles/widgets/share-button.css" %}
+{% endcapture %}
+
+
+