move custom css to more reasonable directory ; update to have https://favicon.io standard favicon setup

This commit is contained in:
KemoNine 2022-12-04 11:29:37 -05:00
parent d1e445ef91
commit c5f3124137
3 changed files with 6 additions and 5 deletions

View file

@ -22,12 +22,10 @@ notes = "/notes/:title"
author = "KemoNine" author = "KemoNine"
description = "a confused culinary notebook" description = "a confused culinary notebook"
keywords = "recipes" keywords = "recipes"
favicon_32 = "/images/favicon-32x32.png"
favicon_16 = "/images/favicon-16x16.png"
hidecredits = false hidecredits = false
hidecopyright = false hidecopyright = false
showNavTitle = true showNavTitle = true
custom_css = [ "style.css" ] custom_css = [ "/css/style.css" ]
mainSections = ["recipe", "recipes", "note", "notes"] mainSections = ["recipe", "recipes", "note", "notes"]
[[menu.main]] [[menu.main]]

View file

@ -30,8 +30,11 @@
{{ end }} {{ end }}
<script defer data-domain="culinary.kemonine.info" src="https://plausible.kemonine.info/js/plausible.js"></script> <script defer data-domain="culinary.kemonine.info" src="https://plausible.kemonine.info/js/plausible.js"></script>
<link rel="icon" type="image/png" href="{{ .Site.Params.favicon_32 | default "/images/favicon-32x32.png" | absURL }}" sizes="32x32"> <link rel="apple-touch-icon" sizes="180x180" href="{{ "/apple-touch-icon.png" | absURL }}">
<link rel="icon" type="image/png" href="{{ .Site.Params.favicon_16 | default "/images/favicon-16x16.png" | absURL }}" sizes="16x16"> <link rel="icon" type="image/png" sizes="32x32" href="{{ "/favicon-32x32.png" | absURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/favicon-16x16.png"| absURL }}">
<link rel="manifest" href="/site.webmanifest">
{{ hugo.Generator }} {{ hugo.Generator }}
</head> </head>
<body> <body>