Be consistent with usage of leading slash

This commit is contained in:
dzello 2018-04-26 21:45:57 -07:00
parent 95bac7c144
commit 32944bcad2

View file

@ -10,9 +10,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="{{ "css/reveal.css" | relURL }}"> <link rel="stylesheet" href="{{ "css/reveal.css" | relURL }}">
{{ $theme := or .Site.Params.reveal_theme "black" }} {{ $theme := or .Site.Params.reveal_theme "black" }}
<link rel="stylesheet" href="{{ printf "/css/theme/%s.css" $theme | relURL }}" id="theme"> <link rel="stylesheet" href="{{ printf "css/theme/%s.css" $theme | relURL }}" id="theme">
<!-- Theme used for syntax highlighting of code --> <!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="{{ "/lib/css/zenburn.css" | relURL }}"> <link rel="stylesheet" href="{{ "lib/css/zenburn.css" | relURL }}">
<!-- Printing and PDF exports --> <!-- Printing and PDF exports -->
<script> <script>
var link = document.createElement( 'link' ); var link = document.createElement( 'link' );
@ -28,8 +28,8 @@
<body> <body>
{{ block "main" . }} {{ block "main" . }}
{{ end }} {{ end }}
<script src="{{ "/lib/js/head.min.js" | relURL }}"></script> <script src="{{ "lib/js/head.min.js" | relURL }}"></script>
<script src="{{ "/js/reveal.js" | relURL }}"></script> <script src="{{ "js/reveal.js" | relURL }}"></script>
<script> <script>
// More info https://github.com/hakimel/reveal.js#configuration // More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({ Reveal.initialize({