mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Fixed blog post image paths.
This commit is contained in:
parent
00911872cc
commit
760528ba91
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="hero hero--post" id="hero">
|
<div class="hero hero--post" id="hero">
|
||||||
<div class="hero__background">
|
<div class="hero__background">
|
||||||
{% if page.image %}
|
{% if page.image %}
|
||||||
<img src="{{ base }}/assets/img/hero/{% t pages.blog.hero-image %}" alt="" class="hero__background-image">
|
<img src="/assets/img/blog/{{ page.image }}" alt="" class="hero__background-image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ layout: default
|
||||||
<article class="featurepost featurepost--sidebar">
|
<article class="featurepost featurepost--sidebar">
|
||||||
<div class="featurepost__preview {% if post.image %}featurepost__preview--image{% else %}featurepost__preview--no-image{% endif %}">
|
<div class="featurepost__preview {% if post.image %}featurepost__preview--image{% else %}featurepost__preview--no-image{% endif %}">
|
||||||
{% if post.image %}
|
{% if post.image %}
|
||||||
<img src="{{ post.image }}" class="featurepost__image">
|
<img src="/assets/img/blog/{{ post.image }}" class="featurepost__image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue