added option to add custom style.css
| | |
| | | youtubeId = "dk9uNWPP7EA" |
| | | ``` |
| | | |
| | | ##### Add Custom CSS |
| | | |
| | | Put custom css styles in static/css/style.css and enable this css in the config: |
| | | |
| | | ```toml |
| | | [[params.custom.css]] |
| | | enable = true |
| | | ``` |
| | | |
| | | |
| | | ##### Additional settings |
| | | |
| | | Set `mute` to `true` if you want the video to play muted and `false` if you want the sound. The video is coded to autoplay and loop. If you want to change that the code can be found in [`layouts/partials/video.html`](//github.com/escalate/hugo-split-theme/tree/master/layouts/partials/video.html). |
| | |
| | | <!-- Styles --> |
| | | <link rel="stylesheet" href="{{ "assets/css/split.css" | absURL }}" type="text/css" media="screen" /> |
| | | <meta name="viewport" content="width=device-width,initial-scale=1" /> |
| | | {{ if .Site.Params.custom.css.enable }} |
| | | <link rel="stylesheet" href="{{ "css/style.css" | absURL }}" type="text/css" media="screen" /> |
| | | {{ end }} |
| | | |
| | | <!-- Image Styles --> |
| | | {{ if .Site.Params.visual.image.enable }} |