Fix relative images / links

This commit is contained in:
Netscape Navigator 2019-11-16 14:33:30 -06:00
parent fd74e9cb1d
commit 0961bcedcb
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ page "/*.txt", layout: false
# With alternative layout # With alternative layout
# page "/path/to/file.html", layout: :otherlayout # page "/path/to/file.html", layout: :otherlayout
set :relative_links, true
activate :blog do |blog| activate :blog do |blog|
# This will add a prefix to all links, template references and source paths # This will add a prefix to all links, template references and source paths
blog.prefix = "blog" blog.prefix = "blog"

View File

@ -13,7 +13,7 @@
<tr> <tr>
<td width="140"> <td width="140">
<a href="https://tilde.town/~netscape_navigator"> <a href="https://tilde.town/~netscape_navigator">
<img src="img/logo.gif" width="200" height="200"> <%= image_tag "img/logo.gif" %>
</a> </a>
</td> </td>
<td> <td>