Skip to content

Commit

Permalink
Fix relative paths of blog posts and tutorials
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Daruwalla <[email protected]>
  • Loading branch information
Saransh-cpp and darsnack committed Oct 17, 2022
1 parent 128e022 commit 8904f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8904f47

Please sign in to comment.