diff options
author | Doge <[email protected]> | 2021-05-11 10:01:59 +0800 |
---|---|---|
committer | Doge <[email protected]> | 2021-05-11 10:01:59 +0800 |
commit | bc2f0ec6f9426f60e8035269f5e48f3cc3f0cc52 (patch) | |
tree | 0ccf4eacfae1974e452522359de4473a96f7a61c /layout/_partial/head.ejs | |
parent | 8467083fdbc412e6c26b78a1e39b8d5b0356731b (diff) | |
download | chromate-bc2f0ec6f9426f60e8035269f5e48f3cc3f0cc52.tar.gz chromate-bc2f0ec6f9426f60e8035269f5e48f3cc3f0cc52.tar.bz2 chromate-bc2f0ec6f9426f60e8035269f5e48f3cc3f0cc52.zip |
Favicon support
Diffstat (limited to 'layout/_partial/head.ejs')
-rw-r--r-- | layout/_partial/head.ejs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index c52c231..43b1d5c 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,6 +1,6 @@ <head> <title><%= config.title %></title> - <% if (config.favicon) favicon_tag(config.favicon) %> + <% if (theme.favicon) favicon_tag(theme.favicon) %> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> @@ -19,8 +19,7 @@ <% } %> <!-- Scripts and styles --> + <style>pre{background-color:none!important}@media(prefers-color-scheme:dark){*{transition:backgourd-color .5s}.card{box-shadow:none!important;background-color:#121212!important}}@media screen and (max-width:1023px){.navbar-menu{box-shadow:0 8px 16px -8px rgb(10 10 10 / 10%)!important}.post-content{padding-top:0!important}.post-card{margin:0 0 0 0!important}}.post-podcast-player{padding-bottom:1.5rem}.post-card{margin:0 1rem 0rem 1rem}.navbar-brand .navbar-item:hover{background-color:inherit!important}.entry{margin-bottom:1.5rem!important;margin-top:1.5rem!important;transition:box-shadow .1s}.entry:hover{box-shadow:0 1em 2em -0.125em rgb(10 10 10 / 10%),0 0 0 1px rgb(10 10 10 / 2%)}.pagination-bar{padding-left:.25rem;padding-right:.25rem}.footer{padding:1rem 1rem 1rem;background-color:transparent}</style> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma/css/bulma.min.css"> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css"> <link rel="stylesheet" href="https://unpkg.com/[email protected]/css/bulma-prefers-dark.min.css" /> - <%- css("css/style.min.css") %> </head>
\ No newline at end of file |