mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00

- Change color from orange to blue; improve colors elsewhere - Change `div.section` to `section` - Rename `posts` directory to `blog` - Add ability to specify extra CSS files in `config.toml` - Removed `WebFontsFile` feature from `config.toml` - Remove the initials displayed on top right of single post pages - Update example site
47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
HTML
<!-- HTTPS -->
|
|
|
|
<script type="text/javascript">
|
|
var baseURL = '{{ .Site.BaseURL }}';
|
|
var host = baseURL.substring(0, baseURL.length - 1).replace(/\//g, '');
|
|
if ((host === window.location.host) && (window.location.protocol !== 'https:')) {
|
|
window.location.protocol = 'https:';
|
|
}
|
|
</script>
|
|
|
|
<!-- CSS -->
|
|
|
|
{{ if eq true .Site.Params.CacheBuster }}
|
|
|
|
<link rel="stylesheet" href="/css/reset.css">
|
|
<link rel="stylesheet" href="/css/pygments.css">
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
|
|
{{range .Site.Params.ExtraCssFiles}}
|
|
<link rel="stylesheet" href="{{.}}">
|
|
{{end}}
|
|
|
|
{{ else }}
|
|
|
|
<link rel="stylesheet" href="/css/reset.css?{{ .Now.Unix }}">
|
|
<link rel="stylesheet" href="/css/pygments.css?{{ .Now.Unix }}">
|
|
<link rel="stylesheet" href="/css/main.css?{{ .Now.Unix }}">
|
|
|
|
{{range .Site.Params.ExtraCssFiles}}
|
|
<link rel="stylesheet" href="{{.}}?{{ .Now.Unix }}">
|
|
{{end}}
|
|
|
|
{{ end }}
|
|
|
|
<!-- Icon -->
|
|
<link rel="shortcut icon"
|
|
{{ if .Site.Params.FaviconFile }}
|
|
href="/{{ .Site.Params.FaviconFile }}"
|
|
{{ else }}
|
|
href="/img/favicon.ico"
|
|
{{ end }}
|
|
>
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|