Update template.ejs
This commit is contained in:
parent
f6d60f9af9
commit
284a9d61d3
|
@ -1,3 +1,9 @@
|
||||||
|
<% if (opts.theme && opts.theme.toLowerCase() == 'modern-light-min'){ %>
|
||||||
|
<style>
|
||||||
|
@import url("https://maplefeed.bihlink.com/modern-light-min.css");
|
||||||
|
</style>
|
||||||
|
<% } else { %>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8"></meta>
|
<meta charset="UTF-8"></meta>
|
||||||
|
@ -5,17 +11,13 @@
|
||||||
<base target="_top" /><!-- this element is amazing-->
|
<base target="_top" /><!-- this element is amazing-->
|
||||||
|
|
||||||
<% if (opts.theme && opts.theme.toLowerCase() == 'light'){ %>
|
<% if (opts.theme && opts.theme.toLowerCase() == 'light'){ %>
|
||||||
<link rel="stylesheet" href="/light.css"></link>
|
<link rel="stylesheet" href="https://maplefeed.bihlink.com/light.css"></link>
|
||||||
<% } else if (opts.theme && opts.theme.toLowerCase() == 'auto'){ %>
|
<% } else if (opts.theme && opts.theme.toLowerCase() == 'auto'){ %>
|
||||||
<link rel="stylesheet" href="/auto.css"></link>
|
<link rel="stylesheet" href="https://maplefeed.bihlink.com/auto.css"></link>
|
||||||
<% } else if (opts.theme && opts.theme.toLowerCase() == 'dark'){ %>
|
<% } else if (opts.theme && opts.theme.toLowerCase() == 'dark'){ %>
|
||||||
<link rel="stylesheet" href="/dark.css"></link>
|
<link rel="stylesheet" href="https://maplefeed.bihlink.com/dark.css"></link>
|
||||||
<% } else if (opts.theme && opts.theme.toLowerCase() == 'modern-light-min') { %>
|
|
||||||
<style>
|
|
||||||
@import url("https://maplefeed.bihlink.com/modern-light-min.css");
|
|
||||||
</style>
|
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<link rel="stylesheet" href="/modern-light.css"></link>
|
<link rel="stylesheet" href="https://maplefeed.bihlink.com/modern-light.css"></link>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (opts.size){ %>
|
<% if (opts.size){ %>
|
||||||
|
@ -28,6 +30,8 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<% } %>
|
||||||
|
|
||||||
<% if (opts.theme && opts.theme.toLowerCase() == 'modern-light'){ %>
|
<% if (opts.theme && opts.theme.toLowerCase() == 'modern-light'){ %>
|
||||||
<div class="container-fluid mt-2">
|
<div class="container-fluid mt-2">
|
||||||
<% if (opts.header !== false){ %>
|
<% if (opts.header !== false){ %>
|
||||||
|
|
Loading…
Reference in New Issue