Feat : Pull Background image from markdown

This commit is contained in:
eniamza 2020-06-25 14:20:04 +06:00
parent ba3617cc8c
commit 708806c3ed
2 changed files with 2 additions and 1 deletions

View file

@ -67,7 +67,7 @@
<<!-- globalParallax -->
<div class="parallax" id="global-parallax">
<img src="../img/foundation-tavern-background-art.png" data-depth-factor="3" alt="bg-img" class="d-none d-sm-none d-md-none d-lg-block parallax-layer main-parallax-img" />
<img src="{{ page.bg-image }}" data-depth-factor="3" alt="bg-img" class="d-none d-sm-none d-md-none d-lg-block parallax-layer main-parallax-img" />
<div class="parallax-mask"></div>
<div class="parallax-bg"></div>

View file

@ -1,6 +1,7 @@
---
title : The Swarm
subhead : LBRY SWARM!🍯
bg-image : img\foundation-swarm-background-art.png
layout : default
permalink : /swarm/
---