lien pour le css custom dans README + ajout dans head.html mais ça marche pas

This commit is contained in:
pgp 2022-03-01 16:34:51 +01:00
parent a6511eb3b4
commit ee5b5cef29
7 changed files with 15 additions and 2 deletions

View file

@ -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) ![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/) [![Website up/down badge](https://img.shields.io/website-up-down-green-red/https/reveal-hugo.dzello.com.svg)](https://reveal-hugo.dzello.com/)

View file

@ -4,6 +4,10 @@ title = "Bienvenue au Fablab Coh@bit"
disableKinds = ["sitemap", "RSS"] disableKinds = ["sitemap", "RSS"]
theme = "reveal-hugo" theme = "reveal-hugo"
# css
custom_css = "css/custom.css"
# uncomment for browsing at file:/// # uncomment for browsing at file:///
relativeURLs = true relativeURLs = true
uglyURLs = true uglyURLs = true

Binary file not shown.

View file

@ -18,7 +18,7 @@ transition_speed = "slow"
<br> <br>
<div class="custom-hello-liens">///PRÉSENTATION///</div><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> ///MACHINES-RÉSERVATIONS///<br>
///PROJETS EN COURS///<br> ///PROJETS EN COURS///<br>

View 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.