Add Referee's Tools
Update JS, add versioning (for cache-busting updates) Clean up a bunch of unused files Add Rivertail community Add some new races
This commit is contained in:
@@ -1,15 +1,27 @@
|
||||
|
||||
<!-- BOTTOM BEGIN -->
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="/scripts/1-docready.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/2-es6-promise.auto.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/3-lazy-progressive-enhancement.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/4-js.cookie.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/6-classlist.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/7-dayjs.min.js"></script>
|
||||
<script type="module" src="/scripts/scripts.js"></script>
|
||||
</div>
|
||||
<script crossorigin="anonymous" integrity="sha256-vFJF6miPDNSrafNXVTnhlyLp9aVv/tH5xjVBsXjhp3s=
|
||||
sha384-oFDC2zCaOoiM9ShzquOEMnrv+YV6bdMWRtV+K6mfX9AFQ7RqJImN37BUchETbFs7
|
||||
sha512-db4RL1xfLIIz9aHBKt8iIIbjR71P/P/A7wJCFyX+6l7pjrI2lY4Tr39H5CCP8JlgxgFAl+z/SCuGoA10AJvLrg=="
|
||||
src="/scripts/lib/docready.min.js"></script>
|
||||
<script crossorigin="anonymous" integrity="sha256-Jl381t7wjzoQ7DTNqN9Ko9odx+qhrjHJ5hUAh3ayHLU=
|
||||
sha384-DtH/PMBA3EihIE5kC9UY95+osT3LhrAsz5VsOBeD+yY58AfHiJL7lSJv4Cv+3eIf
|
||||
sha512-MA6ECmtSXbabx1WTNbADChNg37W4Kv5v4QoYGJxLXMyGeHeVFNkGmq+N6eXcae2VILXoGPfQhhteah1o+AAgng=="
|
||||
src="/scripts/lib/lazy-progressive-enhancement-v1.0.0.min.js"></script>
|
||||
<script crossorigin="anonymous" integrity="sha256-N9kDcQOI10TmPdJb11rrKwy2N6QHE/ohbUlwS6qaqiw=
|
||||
sha384-K2qIMEVr41uI5AFZUBPyhTJ19jfLKSfZyrdepavmCyqbsu8d9txrnxY3VyLU3xHb
|
||||
sha512-tC3K0pJ3N9gF4cWObuc4ihAyc3S3ZOI7LdzMxFEsQKHKacCi7ASb2VJe/QF5qoFNHupP4GGhskJKkOoiHNDiIQ=="
|
||||
src="/scripts/lib/js-cookie-v3.0.1.min.js"></script>
|
||||
<script crossorigin="anonymous" integrity="sha256-R5qUOf0mNqdalMuAEzZYbQHNrwPVjy1bavIqUOJa+JE=
|
||||
sha384-cqadmreOTb8xFReIp9D4aXHl+DQyz9VbLFjtkzMn9aNNyuKOORQhhqotECvZZ7/a
|
||||
sha512-X0kqlFnZim1wkOvQwpyWe88L0OZCkOkVJ4jRIoakJNVCqFsoZi+3xY56NnY/AWc1+UGBF94BocpncDgd0aieLA=="
|
||||
src="/scripts/lib/dayjs-v1.11.9.min.js"></script>
|
||||
|
||||
<!-- We load this library via "module" script-tag to guarantee ES6 minimum functionality -->
|
||||
<script type="module" src="/scripts/scripts.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- BOTTOM END -->
|
||||
<!-- BOTTOM END -->
|
@@ -1,88 +1,83 @@
|
||||
|
||||
<!-- TOP BEGIN -->
|
||||
<%
|
||||
const
|
||||
getPageField = (field_name) => {
|
||||
return page[field_name] || site[field_name] || '';
|
||||
},
|
||||
getUrl = () => site.base_uri + (site.base_uri.endsWith('/') ? '' : '/') + page.path;
|
||||
-%>
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js ie lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js ie lt-ie10 lt-ie9 lt-ie8" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js ie lt-ie10 lt-ie9" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 9]> <html class="no-js ie lt-ie10" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if gt IE 9]> <html class="no-js ie" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if !IE]>--> <html class="no-js" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<base href="<%= getUrl() %>" />
|
||||
<title><%= page.title ? page.title + ' | ' : ''%><%= page.sub_title ? page.sub_title + ' | ' : ''%><%= site.title %></title>
|
||||
<% const getPageField=(field_name)=> {
|
||||
return page[field_name] || site[field_name] || '';
|
||||
},
|
||||
getUrl = () => site.base_uri + (site.base_uri.endsWith('/') ? '' : '/') + page.path;
|
||||
-%>
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js ie lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js ie lt-ie10 lt-ie9 lt-ie8" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js ie lt-ie10 lt-ie9" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if IE 9]> <html class="no-js ie lt-ie10" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if gt IE 9]> <html class="no-js ie" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <![endif]-->
|
||||
<!--[if !IE]>-->
|
||||
<html class="no-js" lang="en" xmlns:fb="http://ogp.me/ns/fb#"> <!--<![endif]-->
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f03733">
|
||||
<meta name="msapplication-TileColor" content="#8fffff">
|
||||
<meta name="theme-color" content="#8fffff">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<base href="<%= getUrl() %>" />
|
||||
<title>
|
||||
<%= page.title ? page.title + ' | ' : '' %>
|
||||
<%= page.sub_title ? page.sub_title + ' | ' : '' %>
|
||||
<%= site.title %>
|
||||
</title>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f03733">
|
||||
<meta name="msapplication-TileColor" content="#8fffff">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<meta http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; img-src 'self' https://*; media-src 'self' https://*;" />
|
||||
|
||||
|
||||
<meta name="description" content="<%= getPageField('description') %>">
|
||||
<meta name="author" content="<%= (page.author || site.author).name %>">
|
||||
<meta name="generator" content="Gulp" />
|
||||
<meta name="keywords" content="<%= getPageField('keywords') %>">
|
||||
<meta name="robots" content="<%= getPageField('robots') %>">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f03733">
|
||||
<meta name="msapplication-TileColor" content="#8fffff">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta property="og:site_name" content="<%= site.title %>" />
|
||||
<meta property="og:title" content="<%= getPageField('title') %>" />
|
||||
<% if (page.image) { %>
|
||||
<meta property="og:image" content="<%= page.image %>" />
|
||||
<% } %>
|
||||
<% if (page.description) { %>
|
||||
<meta property="og:description" content="<%= page.description %>" />
|
||||
<% } %>
|
||||
|
||||
<meta name="description" content="<%= getPageField('description') %>">
|
||||
<meta name="author" content="<%= (page.author || site.author).name %>">
|
||||
<meta name="generator" content="Gulp"/>
|
||||
<meta name="keywords" content="<%= getPageField('keywords') %>">
|
||||
<meta name="robots" content="<%= getPageField('robots') %>">
|
||||
<!-- Twitter Card -->
|
||||
<% if (page.image) { %>
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<% } else { %>
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<% } %>
|
||||
<meta name="twitter:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta name="twitter:title" content="<%= getPageField('title') %>" />
|
||||
<meta name="twitter:description" content="<%= getPageField('description') %>" />
|
||||
<meta name="twitter:image:src" content="<%= getPageField('image') %>" />
|
||||
<% if (page.author && page.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= page.author.twitter %>" />
|
||||
<% } else if (site.author && site.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= site.author.twitter %>" />
|
||||
<% } %>
|
||||
<link rel="start" href="<%= site.base_uri %>/" />
|
||||
<link rel="contents" href="/sitemap.xml" title="Sitemap" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed" />
|
||||
<link rel="canonical" href="<%= site.base_uri %><%= page.path %>" />
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta property="og:site_name" content="<%= site.title %>" />
|
||||
<meta property="og:title" content="<%= getPageField('title') %>" />
|
||||
<% if (page.image) { %>
|
||||
<meta property="og:image" content="<%= page.image %>"/>
|
||||
<% } %>
|
||||
<% if (page.description) { %>
|
||||
<meta property="og:description" content="<%= page.description %>" />
|
||||
<% } %>
|
||||
<link rel="stylesheet" href="/styles/imports.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/fonts.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
<!-- Twitter Card -->
|
||||
<% if (page.image) { %>
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<% } else { %>
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<% } %>
|
||||
<meta name="twitter:url" content="<%= site.base_uri %><%= page.path %>" />
|
||||
<meta name="twitter:title" content="<%= getPageField('title') %>" />
|
||||
<meta name="twitter:description" content="<%= getPageField('description') %>" />
|
||||
<meta name="twitter:image:src" content="<%= getPageField('image') %>" />
|
||||
<% if (page.author && page.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= page.author.twitter %>" />
|
||||
<% } else if (site.author && site.author.twitter) { %>
|
||||
<meta name="twitter:creator" content="<%= site.author.twitter %>" />
|
||||
<% } %>
|
||||
<link rel="start" href="<%= site.base_uri %>/"/>
|
||||
<link rel="contents" href="/sitemap.xml" title="Sitemap"/>
|
||||
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed"/>
|
||||
<link rel="canonical" href="<%= site.base_uri %><%= page.path %>"/>
|
||||
|
||||
<link rel="stylesheet" href="/styles/imports.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/fonts.css" type="text/css" />
|
||||
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
|
||||
</head>
|
||||
|
||||
<!-- TOP END -->
|
||||
<!-- TOP END -->
|
Reference in New Issue
Block a user