Let section presentations use a different theme
This commit is contained in:
parent
3539e4df40
commit
229cf01d2a
|
@ -1,5 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Example of a section presentation"
|
title = "Example of a section presentation"
|
||||||
|
reveal_theme = "moon"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
# Section Presentation
|
# Section Presentation
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<link rel="stylesheet" href="{{ "css/reveal.css" | relURL }}">
|
<link rel="stylesheet" href="{{ "css/reveal.css" | relURL }}">
|
||||||
{{ $theme := or .Site.Params.reveal_theme "black" }}
|
{{ $theme := or .Page.Params.reveal_theme .Site.Params.reveal_theme "black" }}
|
||||||
<link rel="stylesheet" href="{{ printf "css/theme/%s.css" $theme | relURL }}" id="theme">
|
<link rel="stylesheet" href="{{ printf "css/theme/%s.css" $theme | relURL }}" id="theme">
|
||||||
<!-- Theme used for syntax highlighting of code -->
|
<!-- Theme used for syntax highlighting of code -->
|
||||||
<link rel="stylesheet" href="{{ "lib/css/zenburn.css" | relURL }}">
|
<link rel="stylesheet" href="{{ "lib/css/zenburn.css" | relURL }}">
|
||||||
|
|
Loading…
Reference in New Issue