mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 12:13:57 +00:00
demo: doc media library defaults to static/media/
This commit is contained in:
1 parent
d9ff93a1c2
commit
2b1ec2d000
17 files changed
+21
-21
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "image.jpg" # Name of image in `static/img/`.
|
||||
# image = "image.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -123,7 +123,7 @@ contact_links = [
|
||||
## Social
|
||||
############################
|
||||
|
||||
# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here.
|
||||
# Default image for social sharing and search engines. Place image in `static/media/` folder and specify image name here.
|
||||
sharing_image = ""
|
||||
|
||||
# Twitter username (without @). Used when a visitor shares your site on Twitter.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: Courses
|
||||
layout: docs # Do not modify.
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
# Optional header image (relative to `static/media/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
|
||||
@@ -29,7 +29,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
image = "headers/bubbles-wide.jpg" # Name of image in `static/img/`.
|
||||
image = "headers/bubbles-wide.jpg" # Name of image in `static/media/`.
|
||||
image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size.
|
||||
image_position = "center" # Options include `left`, `center` (default), or `right`.
|
||||
|
||||
@@ -53,7 +53,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -7,7 +7,7 @@ weight = 10 # Order that this section will appear.
|
||||
|
||||
title = "Academic"
|
||||
|
||||
# Hero image (optional). Enter filename of an image in the `static/img/` folder.
|
||||
# Hero image (optional). Enter filename of an image in the `static/media/` folder.
|
||||
hero_media = "hero-academic.png"
|
||||
|
||||
[design.background]
|
||||
@@ -24,7 +24,7 @@ hero_media = "hero-academic.png"
|
||||
gradient_end = "#2b94c3"
|
||||
|
||||
# Background image.
|
||||
# image = "" # Name of image in `static/img/`.
|
||||
# image = "" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
# image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size.
|
||||
# image_position = "center" # Options include `left`, `center` (default), or `right`.
|
||||
|
||||
@@ -41,7 +41,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -53,7 +53,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -61,7 +61,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -53,7 +53,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -23,7 +23,7 @@ height = ""
|
||||
# Overlay a color or image (optional).
|
||||
# Deactivate an option by commenting out the line, prefixing it with `#`.
|
||||
overlay_color = "#666" # An HTML color value.
|
||||
overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder.
|
||||
overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/media/` folder.
|
||||
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
|
||||
|
||||
# Call to action button (optional).
|
||||
@@ -40,7 +40,7 @@ height = ""
|
||||
align = "left"
|
||||
|
||||
overlay_color = "#555" # An HTML color value.
|
||||
overlay_img = "" # Image path relative to your `static/img/` folder.
|
||||
overlay_img = "" # Image path relative to your `static/media/` folder.
|
||||
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
|
||||
|
||||
[[item]]
|
||||
@@ -49,6 +49,6 @@ height = ""
|
||||
align = "right"
|
||||
|
||||
overlay_color = "#333" # An HTML color value.
|
||||
overlay_img = "" # Image path relative to your `static/img/` folder.
|
||||
overlay_img = "" # Image path relative to your `static/media/` folder.
|
||||
overlay_filter = 0.5 # Darken the image. Value in range 0-1.
|
||||
+++
|
||||
@@ -55,7 +55,7 @@ subtitle = ""
|
||||
# gradient_end = "SkyBlue"
|
||||
|
||||
# Background image.
|
||||
# image = "background.jpg" # Name of image in `static/img/`.
|
||||
# image = "background.jpg" # Name of image in `static/media/`.
|
||||
# image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
|
||||
|
||||
# Text color (true=light or false=dark).
|
||||
|
||||
@@ -7,7 +7,7 @@ title: Posts
|
||||
# 3 = Card
|
||||
view: 2
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
# Optional header image (relative to `static/media/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
|
||||
@@ -8,7 +8,7 @@ title: Publications
|
||||
# 4 = Citation
|
||||
view: 4
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
# Optional header image (relative to `static/media/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
|
||||
@@ -129,14 +129,14 @@ Press the `S` key to view the speaker notes!
|
||||
|
||||
---
|
||||
|
||||
{{< slide background-image="/img/boards.jpg" >}}
|
||||
{{< slide background-image="/media/boards.jpg" >}}
|
||||
|
||||
## Custom Slide
|
||||
|
||||
Customize the slide style and background
|
||||
|
||||
```markdown
|
||||
{{</* slide background-image="/img/boards.jpg" */>}}
|
||||
{{</* slide background-image="/media/boards.jpg" */>}}
|
||||
{{</* slide background-color="#0000FF" */>}}
|
||||
{{</* slide class="my-style" */>}}
|
||||
```
|
||||
|
||||
@@ -7,7 +7,7 @@ title: Recent & Upcoming Talks
|
||||
# 3 = Card
|
||||
view: 2
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
# Optional header image (relative to `static/media/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
||||
<head>
|
||||
{{ $media_dir := site.Params.media_dir | default "media" }}
|
||||
{{ $scr.Set "media_dir" $media_dir }}
|
||||
{{ .Scratch.Set "media_dir" $media_dir }}
|
||||
|
||||
{{ $css := site.Data.assets.css }}
|
||||
{{ $cdn_url_reveal := "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0" }}
|
||||
|
||||
Reference in new issue
Block a user