Remove unneeded argument

This commit is contained in:
Hanzei 2018-07-01 10:26:03 +02:00
parent 8d7109a35f
commit 015b4bbd41
No known key found for this signature in database
GPG key ID: 69A2DEFD98937BA0

View file

@ -1,14 +1,14 @@
<!-- jQuery --> <!-- jQuery -->
<script type="text/javascript" src="{{ "/js/jquery-3.3.1.min.js" | relURL }}"></script> <script src="{{ "/js/jquery-3.3.1.min.js" | relURL }}"></script>
<!-- index.js --> <!-- index.js -->
<script type="text/javascript" src="{{ "/js/index.js" | relURL }}"></script> <script src="{{ "/js/index.js" | relURL }}"></script>
<!-- local time --> <!-- local time -->
{{ if .Site.Params.localTime }} {{ if .Site.Params.localTime }}
<script type="text/javascript" src="{{ "/js/moment.js" | relURL }}"></script> <script src="{{ "/js/moment.js" | relURL }}"></script>
<script type="text/javascript" src="{{ "/js/moment-timezone.js" | relURL }}"></script> <script src="{{ "/js/moment-timezone.js" | relURL }}"></script>
<script type="text/javascript" src="{{ "/js/moment-timezone-with-data-2012-2022.js" | relURL }}"></script> <script src="{{ "/js/moment-timezone-with-data-2012-2022.js" | relURL }}"></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A"); var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A");