From 0961bcedcb3d18844d58482273052184cad4204f Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Sat, 16 Nov 2019 14:33:30 -0600 Subject: [PATCH] Fix relative images / links --- config.rb | 2 +- source/layout.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.rb b/config.rb index 9f637b9..eecbabc 100644 --- a/config.rb +++ b/config.rb @@ -4,7 +4,7 @@ page "/*.txt", layout: false # With alternative layout # page "/path/to/file.html", layout: :otherlayout - +set :relative_links, true activate :blog do |blog| # This will add a prefix to all links, template references and source paths blog.prefix = "blog" diff --git a/source/layout.erb b/source/layout.erb index 1543a07..41ea364 100644 --- a/source/layout.erb +++ b/source/layout.erb @@ -13,7 +13,7 @@ - + <%= image_tag "img/logo.gif" %>