Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Fix image rendering issues #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Header -->
<header id="header"{% if page.layout == "landing" %} class="alt style2"{% endif %}{% if page.layout == "home" %} class="alt"{% endif %}>
<a href="{{ "" | absolute_url }}/" class="logo"><strong>{{ site.title }}</strong> <span>{{ site.subtitle }}</span></a>
<a href="{{ "" | absolute_url }}" class="logo"><strong>{{ site.title }}</strong> <span>{{ site.subtitle }}</span></a>
<nav>
<a href="#menu">Menu</a>
</nav>
Expand All @@ -14,7 +14,7 @@
<ul class="links">
{% for page in site.pages %}
{% if page.layout == "home" %}
<li><a href="{{ "" | absolute_url }}/">{{ page.title }}</a></li>
<li><a href="{{ "" | absolute_url }}">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
{% for page in site.html_pages %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/allposts.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<header class="major">
<h1>{{ post.title }}</h1>
</header>
{% if post.image %}<span class="image main"><img src="{{ site.baseurl }}/{{ post.image }}" alt="" /></span>{% endif %}
{% if post.image %}<span class="image main"><img src="{{ site.baseurl }}{{ post.image }}" alt="" /></span>{% endif %}
{% if post.date %}<p>{{ post.date }}</p>{% endif %}
<p>{{ post.content }}</p>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<section id="banner" class="style2">
<div class="inner">
<span class="image">
<img src="{{ site.baseurl }}/{{ page.image }}" alt="">
<img src="{{ site.baseurl }}{{ page.image }}" alt="">
</span>
<header class="major">

Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<header class="major">
<h1>{{ page.title }}</h1>
</header>
{% if page.image %}<span class="image main"><img src="{{ site.baseurl }}/{{ page.image }}" alt="" /></span>{% endif %}
{% if page.image %}<span class="image main"><img src="{{ site.baseurl }}{{ page.image }}" alt="" /></span>{% endif %}
{{ content }}
</div>
</section>
Expand Down