diff --git a/src/.vuepress/plugins/pageData.js b/src/.vuepress/plugins/pageData.js index 927786fe..b49bb429 100644 --- a/src/.vuepress/plugins/pageData.js +++ b/src/.vuepress/plugins/pageData.js @@ -25,6 +25,14 @@ function shouldBeHidden(frontmatter) { shouldHide = shouldHide || isDateInFuture(frontmatter.publish_date) } + // only hide on production environment, show on dev and staging + if ( + !process.env.CANONICAL_BASE || + !process.env.CANONICAL_BASE.includes('blog.ipfs.io') + ) { + shouldHide = false + } + return shouldHide } diff --git a/src/.vuepress/theme/components/blog/Card.vue b/src/.vuepress/theme/components/blog/Card.vue index 649d019b..57b3ee79 100644 --- a/src/.vuepress/theme/components/blog/Card.vue +++ b/src/.vuepress/theme/components/blog/Card.vue @@ -5,6 +5,9 @@ v-bind="card" :open-video-modal="openVideoModal" class="card-post h-full" + :class="{ + 'is-scheduled': isScheduled + }" /> @@ -49,3 +52,10 @@ export default { }, } + \ No newline at end of file diff --git a/src/.vuepress/theme/styles/components/embed-responsive.css b/src/.vuepress/theme/styles/components/embed-responsive.css index 74ac8770..2dc23ac2 100644 --- a/src/.vuepress/theme/styles/components/embed-responsive.css +++ b/src/.vuepress/theme/styles/components/embed-responsive.css @@ -4,20 +4,20 @@ height: 0; padding: 0; overflow: hidden; +} - .embed-responsive-item, - iframe, - embed, - object, - video { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; - } +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; } .embed-responsive-16by9 { diff --git a/src/_blog/welcome-to-ipfs-weekly-141.md b/src/_blog/welcome-to-ipfs-weekly-141.md index 215780af..8febf78a 100644 --- a/src/_blog/welcome-to-ipfs-weekly-141.md +++ b/src/_blog/welcome-to-ipfs-weekly-141.md @@ -3,7 +3,7 @@ title: Welcome to IPFS Weekly 141 description: OpenSea stores NFTs with IPFS & Filecoin, NFT Dev User Experience survey, IPFS in 'The New Stack' & more! author: Emily Vaughan -date: 2021-06-23 +date: 2021-07-23 permalink: "/weekly-141/" translationKey: ipfs-weekly-141 header_image: "/header-image-weekly-newsletter.png"