0
有没有办法将博客文章直接链接到pdf,而不是转到html页面。Jekyll博客文章链接到PDF?
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{{ post.excerpt }}
</li>
{% endfor %}
我想用一个不同的URL为post.url
现场,这样如果用户点击链接后,他就直接进入到PDF。