|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<link href="<%- selfLib('math.css') %>" rel="stylesheet"> |
|
|
|
|
<link href="<%- selfLib('style.css') %>?20181212" rel="stylesheet"> |
|
|
|
|
<link href="<%- lib('morris.js/0.5.1/morris.css') %>" rel="stylesheet"> |
|
|
|
|
<% if (useLocalLibs || !syzoj.config.google_fonts || !syzoj.config.google_fonts.url || !['like-google-fonts', 'like-local'].includes(syzoj.config.google_fonts.type)) { %> |
|
|
|
|
<% if (useLocalLibs || !syzoj.config.google_fonts || !['like-google-fonts', 'like-local', 'built-in'].includes(syzoj.config.google_fonts.type)) { %> |
|
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'fira-mono.css']) %>" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'lato.css']) %>" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'open-sans.css']) %>" rel="stylesheet"> |
|
|
|
@ -21,11 +21,16 @@
|
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/google-fonts/lato.css" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/google-fonts/open-sans.css" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/google-fonts/exo-2.css" rel="stylesheet"> |
|
|
|
|
<% } else { %> |
|
|
|
|
<% } else if (syzoj.config.google_fonts.type === 'like-google-fonts') { %> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/css?family=Fira+Mono" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/css?family=Lato:400,700,400italic,700italic&subset=latin" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=latin-ext" rel="stylesheet"> |
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/css?family=Exo+2:600" rel="stylesheet"> |
|
|
|
|
<% } else if (syzoj.config.google_fonts.type === 'built-in') { %> |
|
|
|
|
<link href="<%- this.builtInCdnUrl %>/google-fonts/fira-mono.css" rel="stylesheet"> |
|
|
|
|
<link href="<%- this.builtInCdnUrl %>/google-fonts/lato.css" rel="stylesheet"> |
|
|
|
|
<link href="<%- this.builtInCdnUrl %>/google-fonts/open-sans.css" rel="stylesheet"> |
|
|
|
|
<link href="<%- this.builtInCdnUrl %>/google-fonts/exo-2.css" rel="stylesheet"> |
|
|
|
|
<% } %> |
|
|
|
|
<script src="<%- lib('jquery/3.3.1/jquery.min.js') %>"></script> |
|
|
|
|
<% if (syzoj.config.google_analytics && syzoj.config.google_analytics !== 'UA-XXXXXXXX-X') { %> |
|
|
|
|