lien pour le css custom dans README + ajout dans head.html mais ça marche pas
This commit is contained in:
parent
a6511eb3b4
commit
ee5b5cef29
|
@ -1,4 +1,7 @@
|
|||
# reveal-hugo
|
||||
# cohabit Custom css : /css/custom.css
|
||||
|
||||
|
||||
# thème : reveal-hugo
|
||||
|
||||
![License badge](https://img.shields.io/github/license/dzello/reveal-hugo.svg)
|
||||
[![Website up/down badge](https://img.shields.io/website-up-down-green-red/https/reveal-hugo.dzello.com.svg)](https://reveal-hugo.dzello.com/)
|
||||
|
|
|
@ -4,6 +4,10 @@ title = "Bienvenue au Fablab Coh@bit"
|
|||
disableKinds = ["sitemap", "RSS"]
|
||||
theme = "reveal-hugo"
|
||||
|
||||
# css
|
||||
|
||||
custom_css = "css/custom.css"
|
||||
|
||||
# uncomment for browsing at file:///
|
||||
relativeURLs = true
|
||||
uglyURLs = true
|
||||
|
|
Binary file not shown.
|
@ -18,7 +18,7 @@ transition_speed = "slow"
|
|||
|
||||
<br>
|
||||
<div class="custom-hello-liens">///PRÉSENTATION///</div><br>
|
||||
<a href="/#/2" target="_blank"><p style="font-size:25px;">///PRESENTATION///</p></a>
|
||||
<a href="/#/2" ><p style="font-size:25px;">///PRESENTATION///</p></a>
|
||||
|
||||
///MACHINES-RÉSERVATIONS///<br>
|
||||
///PROJETS EN COURS///<br>
|
||||
|
|
6
layouts/partials/head.html
Normal file
6
layouts/partials/head.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<!-- override this partial to add content before the head tag closes -->
|
||||
// css
|
||||
{{ range .Site.Params.custom.css -}}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}>
|
||||
{{- end }}
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in a new issue