* Using .Site.BaseURL as prefix for css and js
This commit is contained in:
parent
1f3bc5e74d
commit
20873abef8
@ -1,2 +1,2 @@
|
||||
<script src="/js/sidemenu.js" defer></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/sidemenu.js" defer></script>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/style.css">
|
||||
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
|
||||
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
|
||||
{{ $title := print .Title }}
|
||||
|
Loading…
Reference in New Issue
Block a user