From 8904f47a985e7b709142d5e2f948bcfe4eb70822 Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Tue, 18 Oct 2022 00:35:06 +0530 Subject: [PATCH] Fix relative paths of blog posts and tutorials Co-authored-by: Kyle Daruwalla --- utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.jl b/utils.jl index 3dfd618a..3b2bb853 100644 --- a/utils.jl +++ b/utils.jl @@ -14,7 +14,7 @@ using Dates dates[i] = isnothing(pubdate) ? Date(1999) : Date(pubdate, dateformat"d U Y") titles[i] = something(pagevar(url, :title), "Post $i") externallink = pagevar(url, :external) - links[i] = isnothing(externallink) ? ("/" * url * "/") : externallink + links[i] = isnothing(externallink) ? ("../" * url * "/") : externallink end perm = sortperm(dates, rev=true) io = IOBuffer()