include localdate in all collections +reader

This commit is contained in:
Rob Loranger 2019-10-03 14:09:53 -07:00
parent caca8f0ae2
commit 513765c09f
No known key found for this signature in database
GPG key ID: D6F1633A4F0903B8
3 changed files with 3 additions and 1 deletions

View file

@ -112,6 +112,7 @@ body#collection header nav.tabs a:first-child {
{{if .Script}}<script type="text/javascript">{{.ScriptDisplay}}</script>{{end}}
{{end}}
<script src="/js/h.js"></script>
<script src="/js/localdate.js"></script>
<script src="/js/postactions.js"></script>
<script type="text/javascript">
var deleting = false;

View file

@ -74,6 +74,7 @@
{{end}}
{{if .IsOwner}}
<script src="/js/h.js"></script>
<script src="/js/localdate.js"></script>
<script src="/js/postactions.js"></script>
{{end}}
<script type="text/javascript">

View file

@ -112,7 +112,7 @@
</nav>{{end}}
</div>
<script src="/js/localdate.js">
<script type="text/javascript">
(function() {
var $articles = document.querySelectorAll('article');