fix relative url

This commit is contained in:
slashformotion 2021-07-28 11:12:12 +02:00
parent 0299aa32d3
commit 6acc891c01
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
themesDir = "../../"
canonifyurls = true
# baseurl = "https://github.com/shawnohare/hugo-tufte"
baseurl = "https://slashformotion.github.io/hugo-tufte/"
theme = "hugo-tufte"
title = "Hugo-tufte Theme Example Site"
pygmentsUseClasses=true

View file

@ -17,10 +17,10 @@
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script defer src="{{ "/js/main.js" | absURL }}"></script>
<script defer src="{{ "/js/main.js" | relURL }}"></script>
<!-- Main CSS file based on Pure blog layout -->
<link rel="stylesheet" href="{{ "/css/tufte.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/hugo-tufte.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/hugo-tufte-override.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/syntax.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/tufte.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/hugo-tufte.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/hugo-tufte-override.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/syntax.css" | relURL }}">