diff --git a/caddy/site/links/index.html b/caddy/site/links/index.html index 7ed9e58..1658d25 100644 --- a/caddy/site/links/index.html +++ b/caddy/site/links/index.html @@ -1,19 +1,13 @@ - - - - Caddy test - - - - +Caddy test + - + This is a test + Page loaded at: {{now | date "Mon Jan 2 15:04:05 MST 2006"}}
- Loaded at: {{ loaded }} @@ -21,9 +15,7 @@
{{ message }}
{{ json  }}
-
- - - + + \ No newline at end of file diff --git a/caddy/site/links/index.js b/caddy/site/links/index.js index 910d461..b1a8968 100644 --- a/caddy/site/links/index.js +++ b/caddy/site/links/index.js @@ -4,8 +4,7 @@ var app = new Vue({ data: { message: 'Hello Vue!', json: null, - hits:0, - loaded: null + hits:0 }, filters: { pretty: function(value) { @@ -14,7 +13,6 @@ var app = new Vue({ }, methods:{ load() { - this.loaded = new Date() this.hits += 1 fetch("links.json") .then(response => response.json())