This commit is contained in:
Zé Bateira
2021-07-29 10:57:00 +01:00
parent 26c843befb
commit 4526833e9a
4 changed files with 32 additions and 14 deletions

View File

@@ -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
}

View File

@@ -5,6 +5,9 @@
v-bind="card"
:open-video-modal="openVideoModal"
class="card-post h-full"
:class="{
'is-scheduled': isScheduled
}"
/>
</div>
</template>
@@ -49,3 +52,10 @@ export default {
},
}
</script>
<style scoped>
.card-post.is-scheduled::after {
content: "SCHEDULED";
position: absolute;
right: 0;
}
</style>

View File

@@ -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 {

View File

@@ -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"