|
|
@ -7,21 +7,26 @@ |
|
|
|
<meta name="viewport" content="width=1200"> |
|
|
|
<meta name="viewport" content="width=1200"> |
|
|
|
<title><%= title %> - <%= syzoj.config.title %></title> |
|
|
|
<title><%= title %> - <%= syzoj.config.title %></title> |
|
|
|
<link href="<%- lib('semantic-ui/2.4.1/semantic.min.css') %>" rel="stylesheet"> |
|
|
|
<link href="<%- lib('semantic-ui/2.4.1/semantic.min.css') %>" rel="stylesheet"> |
|
|
|
<link href="/tomorrow.css" rel="stylesheet"> |
|
|
|
<link href="<%- selfLib('tomorrow.css') %>" rel="stylesheet"> |
|
|
|
<link href="/mathjax.css?20181105" rel="stylesheet"> |
|
|
|
<link href="<%- selfLib('mathjax.css') %>?20181105" rel="stylesheet"> |
|
|
|
|
|
|
|
<link href="<%- selfLib('style.css') %>?20181212" rel="stylesheet"> |
|
|
|
<link href="<%- lib('KaTeX/0.10.0/katex.min.css') %>" rel="stylesheet"> |
|
|
|
<link href="<%- lib('KaTeX/0.10.0/katex.min.css') %>" rel="stylesheet"> |
|
|
|
<link href="<%- lib('morris.js/0.5.1/morris.css') %>" rel="stylesheet"> |
|
|
|
<link href="<%- lib('morris.js/0.5.1/morris.css') %>" rel="stylesheet"> |
|
|
|
<link href="/style.css?20181212" 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_url) { %> |
|
|
|
|
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'fira-mono.css']) %>" rel="stylesheet"> |
|
|
|
<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', 'lato.css']) %>" rel="stylesheet"> |
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'open-sans.css']) %>" rel="stylesheet"> |
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'open-sans.css']) %>" rel="stylesheet"> |
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'exo-2.css']) %>" rel="stylesheet"> |
|
|
|
<link href="<%- syzoj.utils.makeUrl(['google-fonts', 'exo-2.css']) %>" rel="stylesheet"> |
|
|
|
|
|
|
|
<% } else if (syzoj.config.google_fonts.type === 'like-local') { %> |
|
|
|
|
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/google-fonts/fira-mono.css" rel="stylesheet"> |
|
|
|
|
|
|
|
<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 { %> |
|
|
|
<link href="<%- syzoj.config.google_fonts_url %>/css?family=Fira+Mono" rel="stylesheet"> |
|
|
|
<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=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=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"> |
|
|
|
<link href="<%- syzoj.config.google_fonts.url %>/css?family=Exo+2:600" rel="stylesheet"> |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
<script src="<%- lib('jquery/3.3.1/jquery.min.js') %>"></script> |
|
|
|
<script src="<%- lib('jquery/3.3.1/jquery.min.js') %>"></script> |
|
|
|
<% if (syzoj.config.google_analytics && syzoj.config.google_analytics !== 'UA-XXXXXXXX-X') { %> |
|
|
|
<% if (syzoj.config.google_analytics && syzoj.config.google_analytics !== 'UA-XXXXXXXX-X') { %> |
|
|
|