mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
CSS changes
* Dynamic resume link * More header changes * CSS for narrow hides * Fix syntax error in header files * Add transition for initials link * Link hover with transition * Add date in tooltip * Consistent colors * Font sizes * Icon margins HTTPS in JS correction to remove slashes
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
<!-- 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 }}
|
||||
|
Reference in New Issue
Block a user