diff --git a/exampleSite/README.md b/exampleSite/README.md index b68338b9c2..9acc177df8 100644 --- a/exampleSite/README.md +++ b/exampleSite/README.md @@ -1,10 +1,11 @@ -- sticky bar -> TODO - récriture doc -> TODO - créer une section Showcase -- refaire la possibilité d'overrider le style/script/etc -> TODO - créer des jolis thèmes de base (avec des noms) -> TODO - ajouter les attachments -> TODO +- ajouter les childs -> TODO +- refaire la possibilité d'overrider le style/script/etc -> OK +- sticky bar -> OK - ajouter Travis pour tester le thème quotidiennement avec les nouvelles versions de Hugo -> OK - #54 -> OK - corriger slider menu qui ne fonctionne plus -> OK diff --git a/exampleSite/content/cont/shortcodes.files/BachGavotteShort.mp3 b/exampleSite/content/cont/shortcodes.files/BachGavotteShort.mp3 new file mode 100644 index 0000000000..94e3d0e539 Binary files /dev/null and b/exampleSite/content/cont/shortcodes.files/BachGavotteShort.mp3 differ diff --git a/exampleSite/content/cont/shortcodes.files/Carroll_AliceAuPaysDesMerveilles.pdf b/exampleSite/content/cont/shortcodes.files/Carroll_AliceAuPaysDesMerveilles.pdf new file mode 100644 index 0000000000..97377e99b1 Binary files /dev/null and b/exampleSite/content/cont/shortcodes.files/Carroll_AliceAuPaysDesMerveilles.pdf differ diff --git a/exampleSite/content/cont/shortcodes.files/adivorciarsetoca00cape.pdf b/exampleSite/content/cont/shortcodes.files/adivorciarsetoca00cape.pdf new file mode 100644 index 0000000000..e589c73e97 Binary files /dev/null and b/exampleSite/content/cont/shortcodes.files/adivorciarsetoca00cape.pdf differ diff --git a/exampleSite/content/cont/shortcodes.files/hugo.png b/exampleSite/content/cont/shortcodes.files/hugo.png new file mode 100644 index 0000000000..48acf346c9 Binary files /dev/null and b/exampleSite/content/cont/shortcodes.files/hugo.png differ diff --git a/exampleSite/content/cont/shortcodes.files/movieselectricsheep-flock-244-32500-2.mp4 b/exampleSite/content/cont/shortcodes.files/movieselectricsheep-flock-244-32500-2.mp4 new file mode 100644 index 0000000000..9f1fe56456 Binary files /dev/null and b/exampleSite/content/cont/shortcodes.files/movieselectricsheep-flock-244-32500-2.mp4 differ diff --git a/exampleSite/content/cont/shortcodes.md b/exampleSite/content/cont/shortcodes.md index 18309e8ada..9cd67f696a 100644 --- a/exampleSite/content/cont/shortcodes.md +++ b/exampleSite/content/cont/shortcodes.md @@ -12,6 +12,14 @@ To avoid this limitations, Hugo created [shortcodes](https://gohugo.io/extras/sh **Hugo-theme-learn** provides multiple shortcodes on top of existing ones. +## Attachments + +{{% attachments style="info" /%}} +{{% attachments style="warning" /%}} +{{% attachments style="note" /%}} +{{% attachments style="tip" /%}} +{{% attachments /%}} + ## Notice The notice shortcode shows 4 types of disclaimers to help you structure your page. diff --git a/layouts/404.html b/layouts/404.html index c27d4d0ba2..17c4aca7ce 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -4,7 +4,6 @@
{{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}