ソースを参照

:sparkles: adding fallback image for cards | #145

tags/0.9.0
J 4年前
コミット
21946e25f0

バイナリ
vue-theme/src/assets/craft-in-america-logo-00-placeholder.jpg ファイルの表示


+ 1
- 1
vue-theme/src/components/featured-image.vue ファイルの表示

@@ -6,7 +6,7 @@
6 6
     
7 7
     //- Errors
8 8
     p(v-else-if="hero && !hero.url") ERROR: hero url undefined
9
-    p(v-else) ERROR: no featured image or hero
9
+    img(v-else src="../assets/craft-in-america-logo-00-placeholder.jpg" alt="Placeholder - ERROR: no featured image or hero found")
10 10
 </template>
11 11
 
12 12
 <script>

読み込み中…
キャンセル
保存