diff --git a/gridsome.config.js b/gridsome.config.js index 3035999..8c3a6f7 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -4,6 +4,9 @@ module.exports = { siteDescription: 'The professional publishing platform', titleTemplate: `%s - Gridsome`, + mediaUrlFrom: 'https://snipette-ghost.herokuapp.com/content/images/', + mediaUrlTo: 'https://media.snipettemag.com/', + templates: { GhostPost: '/:slug', GhostTag: '/tag/:slug', diff --git a/src/components/Card.vue b/src/components/Card.vue index 125549b..863f2cd 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -2,7 +2,7 @@
-
+
@@ -14,7 +14,7 @@

{{ cardData.title }}

-

{{ cardData.description | stripHTML | truncate(190, '...') }}

+

{{ cardData.description | stripHTML | changeUrls | truncate(190, '...') }}