presentation page seo, presentation page background support,
This commit is contained in:
parent
e03a64def1
commit
b7edf890b8
|
@ -16,6 +16,15 @@ plugins:
|
||||||
- math
|
- math
|
||||||
highlightTheme: monokai # monokai, zenburn
|
highlightTheme: monokai # monokai, zenburn
|
||||||
revealTheme: beige # beige, black, blood, league, monokai, moon, night, serif, simple, sky, solarized, white
|
revealTheme: beige # beige, black, blood, league, monokai, moon, night, serif, simple, sky, solarized, white
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
reveal:
|
reveal:
|
||||||
- main:
|
- main:
|
||||||
- sub:
|
- sub:
|
||||||
|
|
|
@ -8,7 +8,6 @@ hasCJKLanguage = true
|
||||||
|
|
||||||
summaryLength = 70
|
summaryLength = 70
|
||||||
|
|
||||||
googleAnalytics = ""
|
|
||||||
copyright = "©{year}, All Rights Reserved"
|
copyright = "©{year}, All Rights Reserved"
|
||||||
timeout = 10000
|
timeout = 10000
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
@ -20,6 +19,8 @@ pygmentsCodefences = true
|
||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
pygmentsCodefencesGuessSyntax = true
|
pygmentsCodefencesGuessSyntax = true
|
||||||
|
|
||||||
|
googleAnalytics = ""
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "RSS", "JSON"]
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,21 @@ categories:
|
||||||
-
|
-
|
||||||
featured_image: "feature1/golang.png"
|
featured_image: "feature1/golang.png"
|
||||||
plugins:
|
plugins:
|
||||||
|
- highlight
|
||||||
- zoom
|
- zoom
|
||||||
|
- notes
|
||||||
|
- math
|
||||||
|
highlightTheme: monokai
|
||||||
revealTheme: bagie
|
revealTheme: bagie
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
reveal:
|
reveal:
|
||||||
- main:
|
- main:
|
||||||
- sub:
|
- sub:
|
||||||
|
|
|
@ -10,6 +10,15 @@ series:
|
||||||
categories:
|
categories:
|
||||||
-
|
-
|
||||||
featured_image: "feature2/owl.png"
|
featured_image: "feature2/owl.png"
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
reveal:
|
reveal:
|
||||||
- main:
|
- main:
|
||||||
- sub:
|
- sub:
|
||||||
|
|
|
@ -10,6 +10,15 @@ series:
|
||||||
categories:
|
categories:
|
||||||
-
|
-
|
||||||
featured_image: "feature1/reindeer.png"
|
featured_image: "feature1/reindeer.png"
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
reveal:
|
reveal:
|
||||||
- main:
|
- main:
|
||||||
- sub:
|
- sub:
|
||||||
|
|
|
@ -15,6 +15,15 @@ plugins:
|
||||||
- zoom
|
- zoom
|
||||||
- math
|
- math
|
||||||
highlightTheme: monokai
|
highlightTheme: monokai
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
revealTheme: league
|
revealTheme: league
|
||||||
reveal:
|
reveal:
|
||||||
- main:
|
- main:
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
|
@ -1,8 +1,30 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.Language.Lang }}" dir="{{ $.Param "languagedir" | default "ltr" }}">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
||||||
|
{{ partial "head/meta" . }}
|
||||||
|
{{ partial "head/meta_json_ld" . }}
|
||||||
|
{{ partial "head/service" . }}
|
||||||
|
</head>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
|
{{ $backgroundColor := .Params.revealBackgroundColor }}
|
||||||
|
{{ $backgroundImage := .Params.revealBackgroundImage }}
|
||||||
|
{{ $backgroundPosition := .Params.revealBackgroundPosition }}
|
||||||
|
{{ $backgroundRepeat := .Params.revealBackgroundRepeat }}
|
||||||
|
{{ $backgroundOpacity := .Params.revealBackgroundOpacity }}
|
||||||
|
{{ $backgroundVideo := .Params.revealBackgroundVideo }}
|
||||||
|
{{ $backgroundVideoLoop := .Params.revealBackgroundVideoLoop }}
|
||||||
|
{{ $backgroundVideoMuted := .Params.revealBackgroundVideoMuted }}
|
||||||
|
{{ $backgroundSize := .Params.revealBackgroundSize }}
|
||||||
|
|
||||||
{{ range $.Params.reveal }}
|
{{ range $.Params.reveal }}
|
||||||
<section>
|
<section data-background-color="{{ if $backgroundColor }}{{ $backgroundColor }}{{ end }}" data-background-image="{{ if $backgroundImage }}{{ $backgroundImage }}{{ end }}" data-background-position="{{ if $backgroundPosition }}{{ $backgroundPosition }}{{ end }}" data-background-repeat="{{ if $backgroundRepeat }}{{ $backgroundRepeat }}{{ end }}" data-background-opacity="{{ if $backgroundOpacity }}{{ $backgroundOpacity }}{{ end }}" data-background-video="{{ if $backgroundVideo }}{{ $backgroundVideo }}{{ end }}" data-background-video-loop="{{ if $backgroundVideoLoop }}{{ $backgroundVideoLoop }}{{ end }}" data-background-video-muted="{{ if $backgroundVideoMuted }}{{ $backgroundVideoMuted }}{{ end }}" data-background-size="{{ if $backgroundSize }}{{ $backgroundSize }}{{ end }}">
|
||||||
{{ range $k, $v := . }}
|
{{ range $k, $v := . }}
|
||||||
|
|
||||||
{{ if eq $k "main" }}
|
{{ if eq $k "main" }}
|
||||||
|
@ -38,5 +60,5 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</html>
|
||||||
{{ partial "script/pt-script" . }}
|
{{ partial "script/pt-script" . }}
|
|
@ -3,8 +3,8 @@ description = "Hugo blog theme with rich features."
|
||||||
homepage = "https://github.com/zzossig/hugo-theme-zzo.git"
|
homepage = "https://github.com/zzossig/hugo-theme-zzo.git"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
licenselink = "https://github.com/zzossig/hugo-theme-zzo/blob/master/LICENSE.md"
|
licenselink = "https://github.com/zzossig/hugo-theme-zzo/blob/master/LICENSE.md"
|
||||||
tags = ["accessible", "multilingual", "responsive", "blog", "search", "simple", "light", "dark", "mobile", "gallery", "technical", "fast"]
|
tags = ["accessible", "multilingual", "responsive", "blog", "search", "simple", "light", "dark", "mobile", "gallery", "technical", "fast", "presentation"]
|
||||||
features = ["accessible", "multilingual", "responsive", "grid", "sass", "search", "jsonfeed", "subtheme", "gallery", "technical", "fast"]
|
features = ["accessible", "multilingual", "responsive", "grid", "sass", "search", "jsonfeed", "subtheme", "gallery", "technical", "fast", "presentation"]
|
||||||
min_version = "0.60.0"
|
min_version = "0.60.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
|
|
Loading…
Reference in New Issue