This repository has been archived on 2024-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
vitrine/layouts/_default/baseof.reveal.html
2022-01-07 14:15:18 +01:00

61 lines
3.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
{{ partial "layout/head" . }}
{{ partial "layout/theme" . }}
<!-- To insert markup before the closing head tag for all presentations,
create layouts/partials/reveal-hugo/head.html -->
{{- partial "reveal-hugo/head" . -}}
<!-- To insert markup at the end of the head tag for a specific presentation,
create layouts/partials/{section}/reveal-hugo/head.html -->
{{- $sectionHeadPartial := printf "%s/reveal-hugo/head" (.Page.Section | default "home") -}}
{{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}
</head>
<body>
{{ if .Param "logo.src" }}
<style>
#logo {
position: absolute;
top: {{ if .Param "logo.top"}}{{ .Param "logo.top" }}{{ else if .Param "logo.diag" }}{{ .Param "logo.diag" }}{{ else }}1%{{ end }};
left: {{ if .Param "logo.top"}}{{ .Param "logo.left" }}{{ else if .Param "logo.diag" }}{{ .Param "logo.diag" }}{{ else }}1%{{ end }};
width: {{ if .Param "logo.width"}}{{ .Param "logo.width" }}{{ else }}15%{{ end }};
}
</style>
<img id="logo" src="{{ .Param "logo.src" }}" alt="{{ .Param "logo.alt" }}"/>
{{ end }}
<!--div id="top-menu">
<div>
<ul><li><a href="/redmine/my/account">Mon compte</a></li><li><a class="logout" rel="nofollow" data-method="post" href="/redmine/logout">Déconnexion</a></li></ul> </div>
<div id="loggedas">Connecté en tant que <a class="user active" href="/redmine/users/43">habsinn</a></div>
<ul><li><a class="home" href="/redmine/">Accueil</a></li><li><a class="my-page" href="/redmine/my/page">Ma page</a></li><li><a class="projects selected" href="/redmine/projects">Projets</a></li><li><a class="administration" href="/redmine/admin">Administration</a></li><li><a class="help" href="https://www.redmine.org/guide">Aide</a></li></ul></div>
</div-->
<div class="reveal">
<div class="slides">
{{- block "main" . -}}{{- end -}}
</div>
<!-- To insert markup at the end of the .reveal tag for all presentations,
create layouts/partials/reveal-hugo/end.html -->
{{- partial "reveal-hugo/end" . -}}
<!-- To insert markup at the end of the .reveal tag for a specific presentation,
create layouts/partials/{section}/reveal-hugo/end.html -->
{{- $sectionHeadPartial := printf "%s/reveal-hugo/end" (.Page.Section | default "home") -}}
{{- if fileExists (printf "layouts/partials/%s.html" $sectionHeadPartial) -}}{{ partial $sectionHeadPartial . }}{{- end }}
</div>
{{- partial "layout/javascript" . }}
<!-- To insert markup before the closing body tag for all presentations,
create layouts/partials/reveal-hugo/body.html -->
{{- partial "reveal-hugo/body" . }}
<!-- To insert markup at the end of the head tag for a specific presentation,
create layouts/partials/{section}/reveal-hugo/body.html -->
{{- $sectionBodyPartial := printf "%s/reveal-hugo/body" (.Page.Section | default "home") -}}
{{- if fileExists (printf "layouts/partials/%s.html" $sectionBodyPartial) -}}{{ partial $sectionBodyPartial . }}{{- end }}
</body>
</html>