我想了解我的jekyll链接,但为什么当我在permalink: pretty
chrome中设置_config.yml
时返回“无法加载资源时服务器响应状态为404()?”
然后当我从_config.yml
删除默认设置时,我的资源会返回吗?
修改
再试一次,问题仅适用于我的archive.md
页面。
---
layout: landing
title: archive
image: assets/images/riomag.jpg
nav-menu: true
---
<section id="banner" class="style2">
<div class="inner">
<header class="major">
<h1>{{ page.title }}</h1>
<h4>{{ page.description }}</h4>
</header>
{% if page.image %}<span class="image main"><img src="{{ site.baseurl }}/{{ page.image }}" alt="" /></span>{% endif %}
</div>
</section>
<div id="main">
<section id="one" class="tiles">
{% for post in site.posts limit:tiles-count %}
{% if site.tiles-source == 'posts' %}
<article>
<span class="image">
<img src="{{ post.image }}" alt="" />
</span>
<header class="major">
<h3><a href="{{ post.url | relative_url }}" class="link">{{ post.title }}</a></h3>
<p>{{ post.description }}</p>
</header>
</article>
{% endif %}
{% endfor %}
{% for page in site.pages limit:site.tiles-count %}
{% if site.tiles-source == 'pages' %}
<article>
<span class="image">
<img src="{{ page.image }}" alt="" />
</span>
<header class="major">
<h3><a href="{{ page.url | relative_url }}" class="link">{{ page.title }}</a></h3>
<p>{{ page.description }}</p>
</header>
</article>
{% endif %}
{% endfor %}
</section>